For the first 3 years, the principal or amount deposited was $4000
It was compunded semiannually for the first 3 years
We would apply the formula for determining compound interest which is expressed as
![A\text{ = P(1 + }(r)/(n))^(nt)](https://img.qammunity.org/2023/formulas/mathematics/college/nfi5v89u6rjxl6cod2k784f0ccjq7hn3wp.png)
A = amount after t years
P = principal
t = number of years
r = interest rate
n = periodic interval at which the principal was compounded
Therefore, for the first 3 years,
t = 3 years
P = $4000
r = 8% = 8/100 = 0.08
n = 2(two times in a year)
Therefore,
![\begin{gathered} A\text{ = 4000(1 + }(0.08)/(2))^(2*3) \\ A=4000(1.04)^6 \\ A\text{ = }5061.27 \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/9km0zo9f91jbmeuywucvljexjdzi9yibjc.png)
At the begining of the 4th year, $55000 was deposited. The new principal would be
55000 + 5061.27 = $60061.27
The number of years between the 4th and the 5th year is one. Thus, t = 1 year
Therefore
![\begin{gathered} A=60061.27(1.04)^(2*1) \\ A\text{ = }60061.27(1.04)^2 \\ A\text{ = 64962.27} \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/2nnrz6sbehz1z9i3b5e490nka4dya8uyc6.png)
The balance in the account after 5 years is $64962.27