P = p(1 + r)^n
P = Future Value
p = Present Value
r = rate of increase per period (percentage rate x 100)
n = number of periods
r and n must have compatible periods.
For example, if the compounding period is annual, n must be in years, and r must be the annual rate.
if the compounding period is monthly, n must be in months, and r must be the monthly rate, annual rate/12
if the compounding is quarterly, n is in quarters, and r must be the quarterly rate, annual rate/4
if the compounding is semi-annual, n is the number of half years, and r must be the semi-annual rate, annual rate/2.