[tex]\bf ~~~~~~ \textit{Compound Interest Earned Amount} \\\\ A=P\left(1+\frac{r}{n}\right)^{nt} \quad \begin{cases} A=\textit{accumulated amount}\\ P=\textit{original amount deposited}\dotfill &\$4000\\ r=rate\to 3\%\to \frac{3}{100}\dotfill &0.03\\ n= \begin{array}{llll} \textit{times it compounds per year}\\ \textit{semiannually, thus twice} \end{array}\dotfill &2\\ t=years\dotfill &5 \end{cases} \\\\\\ A=4000\left(1+\frac{0.03}{2}\right)^{2\cdot 5}\implies A=4000(1.015)^{10}\implies A\approx 4642.16[/tex]