Hello, thank you for taking the time to post your question!
The underlying formula that you want to use here is
A = P*e^(rt) for continuous compounding
Then in the scenario we’re solving
5000 = 2500e^(0.05t) since the interest rate is 5% and we’re trying to go from 2500 to 5000
Solving that for the value of t yields
2 = e^(0.05t)
ln(2) = 0.05t
t = ln(2) / 0.05 = 13.8629
meaning that it will take about 13.9 years for the balance to reach $5000
I hope that helps you get moving in a better direction on this type of question! Feel free to reach out if you have any additional questions beyond that :)
August B.
12/08/16