where
A=accumulated savings plan balance
PMT=regular payment (deposit) amount
APR=annual percentage rate (as a decimal)
n=number of payment periods per year
Y=number of years