Learn R Programming

tvmComp (version 1.0.2)

pvYearlyCompSingleCF: Computing Present Value of a Single Cash Flow with Yearly Compounding.

Description

Computing Present Value of a Single Cash Flow with Yearly Compounding.

Usage

pvYearlyCompSingleCF(r, n, fv)

Arguments

r

A number.

n

A number.

fv

A number.

Value

Input values to three arguments r , n and fv.

Details

As brook;textualtvmComp points out that when we are interested in computing the current value of something that we will receive in the future for that the concept called Present Value is used. He further comments that Present Value is a bit trickier to understand, but it helps us put a price or value today on a future cash flow. To get quantitative estimate of the Present Value, you can use the method pvYearlyCompSingleCF() that computes for you Present Value of a Single Cash Flow with Yearly Compounding Frequency. The method pvYearlyCompSingleCF() gives Present Value when values are passed to its three arguments. Here r is annual rate, n is number of years and fv is Future Value.

References

brooktvmComp

Examples

Run this code
# NOT RUN {
pvYearlyCompSingleCF(0.08,10,2000)
pvYearlyCompSingleCF(0.08,10,-2000)
# }

Run the code above in your browser using DataLab