# NOT RUN {
pvYearlyAnnuityCompSemiAnnually(0.11,4,-300,0)
pvYearlyAnnuityCompSemiAnnually(0.11,4,-300,1)
pvYearlyAnnuityCompSemiAnnually(0.11,4,300,0)
pvYearlyAnnuityCompSemiAnnually(0.11,4,300,1)
# }
Run the code above in your browser using DataLab