You can put this solution on YOUR website! A(t) = Ao*(1+(r/n))^(nt)
------------------------------
$40 at 4% (compounded daily) how long will it take for me to have $50?
----------------------
50 = 40(1+0.04/365)^(365t)
1.25 = (1+0.04/365)^(365t)
---
365t*log(1+0.04/365) = log(1.25)
365t = log(1.25)/log(1+(0.04/365))
365t = 2036.3
t = 5.58 days
===========================================
Cheers,
Stan H.