We have to use the compount interest formula
![\begin{gathered} A=P(1+r)^t \\ (A)/(P)=(1+r)^t \\ \\ \sqrt[t]{(A)/(P)}=\sqrt[t]{(1+r)^t}^ \\ \\ r=\sqrt[t]{(A)/(P)}\text{ - }1 \\ \\ r=\sqrt[21]{(5000)/(2000)}\text{ - }1 \\ r=0.04459 \\ r=4.45\%=4.5\% \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/5dxrbg6lmevd1h3y128bisdyhwij7w6reg.png)
A is the total amount
P is the principal amount
r is the interest annual rate, which is the unknown variable and t is the nnumber of yeaers
That would be the formula for the r. Let's find it then
For a the annual rate of interest is 4.5%
2) Now, we have the r, we can find the number 2 which is how long for it to double, so we have to find t.

So, for it to double it takes 15.75 years.