F=P(1+r)n, r>−1, and P>0⟹(1+r)n=PF⟹log{(1+r)n}=log(PF)⟹n∗log(1+r)=log(F)−log(P)⟹n=log(1+r)log(F)−log(P).
This has nothing to do with inverses. As a formula, it requires
THREE independent variables rather than
TWO, namely F, P, and r. Therefore, we cannot possibly help you find the answer because you have given us incomplete information.
You can use natural logarithms, but any logarithm will do. Few problems involving the application of logarithms can be solved without the use of either a log table or a calculator. Virtually all business calculators have a log feature.
Finally, one of our
RULES is that you give the original problem completely and exactly so we can see whence you are coming and whither you need to go. Another of our
RULES is that you show what work you were able to do on your own so we know where to start giving you help. In my opinion, your original post is one of the worst I have ever seen on this site. We want to help you, but you need to follow the rules explained in READ BEFORE POSTING.