For continuouly compounding use the "Pert" formula.

Here is a good explanation. It uses the e number (similar to pi, but a different number).


http://cs.selu.edu/~rbyrd/math/continuous/

And by the way, if you ever find an account that pays continuously compounding interest,let me know. I have taught this, but always wondered if I could put my money in such an account.