future value schedule
Evaluate the future value of an investment using a schedule of interest rates.
Controller:
CodeCogs
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. |
These functions are available for Microsoft Excel (
Login to download):
| Real | cc_future_value_schedule (Real pv, Range schedule, Integer nper) |
Use the following HTML code to embed the calculators within other websites:
| Name | HTML Code |
|---|
future_value_schedule
Evaluate the future value of an investment using a schedule of interest rates. | |
Future Value Schedule
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
| pv | is 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.
You must login to leave a messge