logarithm

I need to calculate "t"...in this formulaM = C*(1+i)^tIs there any body can help me?
[105 byte] By [ynomihsa] at [2007-11-26 17:10:00]
# 1

> I need to calculate "t"...in this formula

>

> M = C*(1+i)^t

>

> Is there any body can help me?

Simple math and algebra, but not Java.

How can it be that you don't know how to do this if you've already got "logarithm" in the subject?

Hint: ln(a^b) = b*ln(a)

%

duffymoa at 2007-7-8 23:37:49 > top of Java-index,Java Essentials,New To Java...
# 2
Don't cross-post. It's considered rude.%
duffymoa at 2007-7-8 23:37:49 > top of Java-index,Java Essentials,New To Java...
# 3
Thank you very much for answering meSorry for cross-post, i am too new in this forum...I know it is logarithm, but I don't know how to use logarithm in Java....
ynomihsa at 2007-7-8 23:37:49 > top of Java-index,Java Essentials,New To Java...
# 4

> Thank you very much for answering me

>

> Sorry for cross-post, i am too new in this forum...

>

> I know it is logarithm, but I don't know how to use

> logarithm in Java....

What does the question have to do with Java?

The natural log function in Java is Math.log().

%

duffymoa at 2007-7-8 23:37:49 > top of Java-index,Java Essentials,New To Java...