Hi A= p(1+r/n) ^nt (n=1 in this example: compounded annually A = p(1+r)^t |A is p + I log(A/p)/log(1+r) = t log(4235/3500)/log(1.07) = t = 2.8 or 3 years