pvYearlyAnnuityCompSemiAnnually {tvmComp} | R Documentation |
Computing Present Value of Yearly Paid Ordinary Annuity or Annuity Due that is Compounded Semi-Annually.
Description
Computing Present Value of Yearly Paid Ordinary Annuity or Annuity Due that is Compounded Semi-Annually.
Usage
pvYearlyAnnuityCompSemiAnnually(r, n, pmt, bgn)
Arguments
r |
A number. |
n |
A number. |
pmt |
A number. |
bgn |
A number. |
Details
As Hummelbrunner,S.A. et al. (2020) explains, while dealing with annuity scenarios, first we must identify whether the problem is that of an Ordinary Annuity or Annuity Due. In an Ordinary Annuity the payment is made at the end of the payment period, whereas, in Annuity Due payment is made in the beginning of the year.
To incorporate this effect, the method pvYearlyAnnuityCompSemiAnnually()
is developed to compute Present Value of Yearly Paid Ordinary Annuity or Annuity Due that is compounded Semi-Annually. This method gives Present Value when values are passed to its four arguments. Here r
is annual rate, n
is number of years,pmt
is amount of one annuity and bgn
is the mode. (Enter 1 when annuity payment occurs at the beginning of the period; 0 for end of period payments).
Value
Input values to four arguments r
, n
, pmt
and bgn
Author(s)
MaheshP Kumar, maheshparamjitkumar@gmail.com
References
Hummelbrunner,S.A., Halliday,K., Hassanlou,A.R. (2020). Contemporary Business Mathematics with Canadian Applications (12th Edition). Pearson Education Canada. ISBN 9780135285015, https://bookshelf.vitalsource.com/books/9780135406380.
Examples
pvYearlyAnnuityCompSemiAnnually(0.11,4,-300,0)
pvYearlyAnnuityCompSemiAnnually(0.11,4,-300,1)
pvYearlyAnnuityCompSemiAnnually(0.11,4,300,0)
pvYearlyAnnuityCompSemiAnnually(0.11,4,300,1)