Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have an initial price (P0) of $4,5 and a final price of $16 (P1).

The exercise requires to find a function to get the amount of months needed to reach the $16 (non-accumulative).

n = quantity of months

So, y = f(x) =>

P0 * (1 + x/100) * n = P1

y = n = P1 / (P0 * (1 + x/100))

If x = 255,55%, the months = 1.

But If I apply 20%, the amount of months should be like 12,77 or so, but the function returns 2.96

Where am I failing?

share|cite|improve this question
up vote 1 down vote accepted

Your equation should be $P_0*(1+nx/100)=P_1$ Your equation is multiplying the original balance by $n$, not just the interest.

share|cite|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.