mortgage payment formula

E

Eli

Hi every one, I hope someone can help me, it is assignment for my
nephew
I need to write the following 2 formulas in c++

formula 1
The following formula is used to calculate the fixed monthly payment
(P) required to fully amortize a loan of L dollars over a term of n
months at a monthly interest rate of c. [If the quoted rate is 6%, for
example, c is .06/12 or .005].
P = L[c(1 + c)n]/[(1 + c)n - 1]


Formula2
P= Po (1+Q + (Q to the power of 2) / 2 )

Thank you very much
 
I

Ian Collins

Hi every one, I hope someone can help me, it is assignment for my
nephew
I need to write the following 2 formulas in c++

formula 1
The following formula is used to calculate the fixed monthly payment
(P) required to fully amortize a loan of L dollars over a term of n
months at a monthly interest rate of c. [If the quoted rate is 6%, for
example, c is .06/12 or .005].
P = L[c(1 + c)n]/[(1 + c)n - 1]


Formula2
P= Po (1+Q + (Q to the power of 2) / 2 )

Post an attempt and people will comment. This isn't a do homework group!
 
R

Rolf Magnus

Eli said:
Hi every one, I hope someone can help me, it is assignment for my
nephew
I need to write the following 2 formulas in c++

formula 1
The following formula is used to calculate the fixed monthly payment
(P) required to fully amortize a loan of L dollars over a term of n
months at a monthly interest rate of c. [If the quoted rate is 6%, for
example, c is .06/12 or .005].
P = L[c(1 + c)n]/[(1 + c)n - 1]


Formula2
P= Po (1+Q + (Q to the power of 2) / 2 )

What is your question?
 
C

Carstenherz

Hrm... you expect people here to do research for you? Please provide a
pluggable formula for your mortgage payment. For instance, simple interest
compound is P*r*t where P is principle, r is interest rate and t for time
interval. I know there are complex integrals and calculus involved in deriving
the formula for options pricing or annuities; doubt one have to prove it here.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,226
Members
46,815
Latest member
treekmostly22

Latest Threads

Top