6. Functions : Finance Library Functions : IRATE Function : Example—IRATE function:
 
Share this page                  
Example—IRATE function:
/*  Calculate the interest rate needed for an
**  investment to increase from $10,000 to $25,000 in
**  10 periods.
*/
interest = irate(pv = 10000, fv = 25000, nper = 10);