Convert nominal interest rate (APR) to Annual Percentage Yield (APY).
APY (Annual Percentage Yield) reflects the real rate of return earned on a savings deposit or investment taking into account the effect of compounding interest.
Formula: APY = (1 + r/n)n - 1
Where r is the annual interest rate and n is the number of compounding periods per year.