CodeCogs - An iteractive open source Numerical library Welcome... Login
CodeCogs
shopping cart
OSXWindowsLinux
Search CodeCogs
Numerical Components

Valid RSS

FinanceBanking

future value schedule

Available under GPL (Free) and Commercial licence
get a GPL licence
COST (GBP)
this unit 2.34
sub units 0.00
add a commercial licence to your cart
0
viewed 1645 times and licensed 9 times

Evaluate the future value of an investment using a schedule of interest rates.

Controller: CodeCogs  Contact Controller
+View version details
Contents hide toc
buy now     get GPL     add to cart

Interface

#include <codecogs/finance/banking/future_value_schedule.h>

using namespace Finance::Banking;

double future_value_schedule (double pv, double schedule[], int nper)
Evaluate the future value of an investment using a schedule of interest rates.
ExcelReal cc_future_value_schedule (Real pv, Range schedule, Integer nper)
This function is available as a Microsoft Excel add-in.

Function Documentation

Future Value Schedule Calculator
  
Add calculator to website or email
 
doublefuture_value_scheduledoublepv
double*schedule
intnper )
This function evaluates the future value of an investment using a schedule of compound interest rates.

References:

http://www.vni.com/products/imsl/jmsl/v30/api/com/imsl/finance/Finance.html
Example 1:
#include <stdio.h>
#include <codecogs/finance/banking/future_value_schedule.h>
 
int main()
{
  double principal = 10000.00;
  double schedule[] = {0.050, 0.051, 0.052, 0.053, 0.054};
  int n = 5;
 
  double d = Finance::Banking::future_value_schedule(principal, schedule, n);
  printf("After 5 years, the 10000.00 investment will have grown to %5.2f\n", d);
}
Output:
After 5 years, the 10000.00 investment will have grown to 12884.77
Parameters:
pvis the principal value, a double.
Returns:
a double, the future value.
Authors:
James Warren (May 2005)
Source Code:

To view or download source code you need either a GPL or Commercial Licence.

buy now     get GPL     add to cart

Not a member, then Register with CodeCogs. Already a Member, then Login.


Page Comments

Format Excel Equations

  You must login to leave a messge


Last Modified: 18 Oct 07 @ 17:07     Page Rendered: 2010-03-12 06:59:37

Valid CSS!   Valid XHTML 1.0 Transitional