Where `` r '' is the annual rate , `` i '' the periodic rate , and `` n '' the number of compounding periods per year .
`` r '' is the periodic rate , `` i '' the annual rate and `` n '' the number of compounding periods per year .