5000(1+0.06/365)365*10
5000(1+.000164383)3650
5000(1.000164383)3650
=18,252,999.99
Well, this is the answer for the way you have written it!. Somehow, I have the feeling that you are trying to figure an investment of $5,000 @ 6% compounded daily for 10 years. If my hunch is right then this is your answer for that problem: $9,110.14. Good luck.