To do this, we can use the formula for compound interest:
$A=P(1+r)^n$
where $A$ is the final amount, $P$ is the principal (initial amount), $r$ is the annual interest rate as a decimal, and $n$ is the number of years.
In this case, the principal is the sum of
Show more…