Hi Madeline,
The equation for compound interest is
A = P (1+i)t
A = final value
P = amount invested (principal) (10000)
i = interest rate, expressed as a decimal (.04)
t = number of years invested (6)
This formula assumes annual compounding.
Plugging in what we know.
A = 10000(1.04)6
A = 10000 (1.265319)
A = $12,653.19