Non-linear equations: Loan calculation

You borrowed $3,000 and are required to pay off the loan in 12 months. If your monthly payment is $265, how much will the interest rate be?
/* Loan calculation */
VAR p = 3000   "Amount of money borrowed   [$]"
    ,n= 12     "Number of months [mon]"
    ,r         "Monthly interest rate   [%/mon]"
    ,x = 265   "Monthly payment  [$/mon]"

eq: p = x * ( 1 - (1+r/100)^(-n) ) / (r/100)

RESET r#0.5[0,2] BY eq

OUTPUT p, x, n, r

Explanation


Enter equations and click on the [Solve] button.


Sample problem

The following sample problems will help you understand how EQUATRAN-G works.
Linear equations
Tsuru-Kame-Zan (Japanese traditional problem, means problem of cranes and tortoises)
Nutrients problem
Non-linear equations
Root of 3rd order polynomial equation
Loan calculation
Ordinary differential equations
2nd order ordinary differential equation
Optimization and least square problems
Approximation in 3rd order polynomial equation