To solve this problem, we will use the following formula for annually compounded interest:
[tex]A=P(1+r)^t,[/tex]where r is the rate of interest in decimal form, t is the number of years, and P is the initial amount.
Substituting P=2900, A=4000, r=0.03 in the formula, we get:
[tex]\begin{gathered} 4000=2900(1+0.03)^t=2900(1.03)^t, \\ \frac{4000}{2900}=1.03^t. \end{gathered}[/tex]Applying log to both sides of the equation we get:
[tex]log(\frac{40}{29})=tlog1.03.[/tex]Therefore:
[tex]t=\frac{log\frac{40}{29}}{log1.03}\approx10.88\text{ years.}[/tex]Rounding the smallest possible whole number, we get:
[tex]t=11\text{ years.}[/tex]Answer:
[tex]11\text{ years.}[/tex]