A = P(1 + r/n)^(nt), where
A = the future amount (at time t)
P = the principal
r = the DECIMAL form of the interest rate
n = the number of compounding periods per year
t = the elapsed time in years