[tex]A = P (1 + \frac{r}{n} )^{(nt)}
[/tex] is formula for compounded quarterly interest rate.
Where P = 5000, r = 10% = .10, n = 4 (since its compounded quarterly), and t = 20
Now we plug all variables into the equation.
[tex]A = 5000 (1 + \frac{.10}{4} )^{(4*20)} = 36047.839[/tex]
The answer is $36,047.84