I'm new to java.
can anyone give me the java code for the loan amortization program.
Nb of payments
Capital(i) = Amount loanedt - Sum of 1 to i-1 of amortization
Interest(i) = Capital(i) * rate/ Nb of payments par yr
Monthly payment = (Principal* rate/ Nb of payments par yr) / ( 1 – (1 + rate / Nb of payments par yr) ^ (-Nb of payments))
Amortization(i) = Monthly payment(i) – Interest(i)
Thanks for your help
can anyone give me the java code for the loan amortization program.
Nb of payments
Capital(i) = Amount loanedt - Sum of 1 to i-1 of amortization
Interest(i) = Capital(i) * rate/ Nb of payments par yr
Monthly payment = (Principal* rate/ Nb of payments par yr) / ( 1 – (1 + rate / Nb of payments par yr) ^ (-Nb of payments))
Amortization(i) = Monthly payment(i) – Interest(i)
Thanks for your help