The compound interest formula is given by
Where A represents the amount accumulated, P represents the initial amount, r is the interest rate, n is the number of times the interest is compounded per unit t(in our case, a year), and t represents the time.
From the text, we have the following values:
Just plugging those values in our formula, we have
The total accumulated after 4 years is $4437.90.