> 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)
%
> 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().
%