Thats a kompound interest equashun
If yu kompound 1 per yeer, interest add tu akkount, so
(value/start value)=(1+r)^n...n=number yeers, r=interest rate (%)
If yu kompound bi month, chaenj formula
raesheeo=[1+r/12}^12n
the dang thang yu rote down is similiar tu this