Suppose you buy a CD for $500 that earns 2.5% APR and is compounded quarterly. The CD matures in 3 years. How much will this CD be worth at maturity?

A. $512.62
B. $538.82
C. $512.64
D. $504.18