The compound interest formula for the amount of money A in an account after t years if a principal P is invested at an annual interest rate r (written as a decimal) which is compounded n times a year, is:
![A=P(1+(r)/(n))^(nt)](https://img.qammunity.org/2023/formulas/mathematics/high-school/39foo2gerf9tf1ffk32zwshrn339mz02kv.png)
In this case, the interest rate of 3.4% (0.034), the amount after 13 years, $24,155.71 and the number of compounding periods a year, 2, are given. The principal P is unknown.
Then, isolate P from the equation:
![P=(A)/((1+(r)/(n))^(nt))=A(1+(r)/(n))^(-nt)](https://img.qammunity.org/2023/formulas/mathematics/college/9tbzkj17h0a3xvwq3go66v5g5y1jzvjged.png)
Replace A=24,155.71, r=0.034, n=2 and t=13 to find the principal P that Sophie deposited at the beginning:
![\begin{gathered} P=24155.71*(1+(0.034)/(2))^(-2*13) \\ =15,583.85975... \\ \approx15,584 \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/grikbl84y5fgcq2265zv633d6a2kuiahzo.png)
Therefore, to the nearest whole number, the amount that Sophie deposited was $15,584.