Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Java Code for APR Calculation using Newton Rapson Method  RSS feed

Shailesh Kulkarni
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Everyody,

I want to write Java programme by using formula


and using Newton rapson method (a(1+a)N/(1+a)N-1)- (p/c)=0
where N is raise to value.

C=Loan Amount
E=Extra Cost
R=Interest Rate
N=Number of months

This calculator first calculates the monthly payment using C+E and the original interest rate r = R/1200:

The APR (a = A/1200) is then calculated iteratively by solving the following equation using the Newton-Raphson method:

Is there any libriry in java for Newton rapson method. Or any help is same kind of work.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!