Calculates the Annual Percentage Yield (APY) given the rate and the compounding period
the annual percentage rate
the compounding period
Calculates the Annual Percentage Yield (APY) given the rate and the compounding period