This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Other JSE/JEE APIs and the fly likes Java Code for APR Calculation using Newton Rapson  Method Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "Java Code for APR Calculation using Newton Rapson  Method" Watch "Java Code for APR Calculation using Newton Rapson  Method" New topic
Author

Java Code for APR Calculation using Newton Rapson Method

Shailesh Kulkarni
Greenhorn

Joined: Feb 11, 2005
Posts: 11
Hello Everyody,

I want to write Java programme by using formula

p=(C+E)r(1+r)N/(1+r)N-1

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Java Code for APR Calculation using Newton Rapson Method
 
Similar Threads
char doubt
JSP behaving badly!
Newton Rapson library for APR calculator in JAVA
Mortgage Calculator and GUI
Use of Math.pow?