In order to calculate how many years it will take, we can use the formula for compound interest:
[tex]A=P\cdot(1+i)^t[/tex]Where A is the final amount after t years, P is the principal (initial amount) and i is the annual interest.
So, using A = 42700, P = 34300 and i = 0.106, we have:
[tex]\begin{gathered} 42700=34300(1+0.106)^t \\ \frac{42700}{34300}=1.106^t \\ 1.106^t=1.2449 \\ \ln (1.106^t)=\ln (1.2449) \\ t\cdot\ln (1.106)=\ln (1.2449) \\ t\cdot0.10075=0.219055 \\ t=\frac{0.219055}{0.10075}=2.1742 \end{gathered}[/tex]Rounding to the nearest whole number, it will take 2 years.