We have the following:
The formula in this case is the following:
solving for t:
replacing
A is 8000, P is 5000, n is 12 and r is 6% (0.06)
therefore, the answer is 7.9 years
4.5m questions
5.9m answers