[tex]\bf \qquad \textit{Compound Interest Earned Amount}
\\\\
A=P\left(1+\frac{r}{n}\right)^{nt}
\qquad
\begin{cases}
A=\textit{accumulated amount}\\
P=\textit{original amount deposited}\to &\$4000\\
r=rate\to 5\%\to \frac{5}{100}\to &0.05\\
n=
\begin{array}{llll}
\textit{times it compounds per year}\\
\textit{quarterly, meaning 4 times}
\end{array}\to &4\\
t=years\to &2
\end{cases}[/tex]