As explained by humm;textualtvmComp, in simple interest calculations, the stated rate of interest, r, is usually expressed as an annual rate and that is also called the nominal rate of interest. In Compound Interest calculations, the periodic rate of interest is determined by dividing the nominal annual rate of interest by the compounding periods per year.The compounding periods commonly used in business and finance cover a number of months, or a number of days, quarters, or semi-annual periods or annual periods. Mortgages and car loans include weekly and bi-weekly payment options.
In this light, the method pvQuarterlyCompSingleCF() was developed for Quarterly compounding scenario and it 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