% -*- texinfo -*- % @deftypefn {Function File} {} fv (@var{r}, @var{n}, @var{p}, @var{l}, @var{method}) % Return the future value at the end of period @var{n} of an investment % which consists of @var{n} payments of @var{p} in each period, % assuming an interest rate @var{r}. % % The optional argument @var{l} may be used to specify an % additional lump-sum payment. % % The optional argument @var{method} may be used to specify whether the % payments are made at the end (@code{'e'}, default) or at the % beginning (@code{'b'}) of each period. % % Note that the rate @var{r} is specified as a fraction (i.e., 0.05, % not 5 percent). % @end deftypefn