I have forgotten
my Password

Or login with:

  • Facebookhttp://facebook.com/
  • Googlehttps://www.google.com/accounts/o8/id
  • Yahoohttps://me.yahoo.com
get GPL
COST (GBP)
this unit 2.81
sub units 0.00
+
0
FinanceBanking

future value schedule

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

get GPL add to cart

Interface

C++
Excel

Future Value Schedule

 
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

Source code is available when you agree to a GP Licence or buy a Commercial Licence.

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