*
A friendly place for programming greenhorns!
Big Moose Saloon
Search

Java FAQ

Recent Topics

Flagged Topics

Hot Topics

Zero Replies
Register / Login
JavaRanch
»
Java Forums
»
Java
»
Other JSE/JEE APIs
Author
Java Code for APR Calculation using Newton Rapson Method
Shailesh Kulkarni
Greenhorn
Joined: Feb 11, 2005
Posts: 11
posted
Feb 16, 2005 02:09:00
0
Hello Everyody,
I want to write Java programme by using formula
p=(C+E)r(1+r)N/(1+r)N1
and using Newton rapson method (a(1+a)N/(1+a)N1) (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 NewtonRaphson 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/filetools
subject: Java Code for APR Calculation using Newton Rapson Method
Similar Threads
JSP behaving badly!
Newton Rapson library for APR calculator in JAVA
Use of Math.pow?
char doubt
Mortgage Calculator and GUI
All times are in JavaRanch time: GMT6 in summer, GMT7 in winter