TVM {FinancialMath}R Documentation

Time Value of Money

Description

Solves for the present value, future value, time, or the interest rate for the accumulation of money earning compound interest. It can also plot the time value for each period.

Usage

TVM(pv=NA,fv=NA,n=NA,i=NA,ic=1,plot=FALSE)

Arguments

pv

present value

fv

future value

n

number of periods

i

nominal interest rate convertible ic times per period

ic

interest conversion frequency per period

plot

tells whether or not to produce a plot of the time value at each period

Details

j=(1+\frac{i}{ic})^{ic}-1

fv=pv*(1+j)^n

Value

Returns a matrix of the input variables and calculated unknown variables.

Note

Exactly one of pv, fv, n, or i must be NA (unknown).

See Also

cf.analysis

Examples

TVM(pv=10,fv=20,i=.05,ic=2,plot=TRUE)

TVM(pv=50,n=5,i=.04,plot=TRUE)

[Package FinancialMath version 0.1.1 Index]