The Octave Forge package repository is no longer actively maintained. Please find Octave Packages at https://packages.octave.org.

Navigation

Operators and Keywords

Function List:

C++ API

Function File: fv (r, n, p, l, method)

Return the future value at the end of period n of an investment which consists of n payments of p in each period, assuming an interest rate r.

The optional argument l may be used to specify an additional lump-sum payment.

The optional argument method may be used to specify whether the payments are made at the end ("e", default) or at the beginning ("b") of each period.

Note that the rate r is specified as a fraction (i.e., 0.05, not 5 percent).

Package: financial