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
[tex]A\text{ = P(1 + }\frac{r}{n})^{nt}[/tex]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,
[tex]\begin{gathered} A\text{ = 4000(1 + }\frac{0.08}{2})^{2\times3} \\ A=4000(1.04)^6 \\ A\text{ = }5061.27 \end{gathered}[/tex]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
[tex]\begin{gathered} A=60061.27(1.04)^{2\times1} \\ A\text{ = }60061.27(1.04)^2 \\ A\text{ = 64962.27} \end{gathered}[/tex]The balance in the account after 5 years is $64962.27