Use the next formula:
[tex]\begin{gathered} A=\frac{d(1+(\frac{r}{n})^{nt-1})}{\frac{r}{n}} \\ \\ A:Final\text{ }amount \\ d:deposit \\ r:rate\text{ APR \lparen in decimals\rparen} \\ n:number\text{ of times compounding per year} \\ t:\text{ time in years} \end{gathered}[/tex]In the given situation:
[tex][/tex]