You are planning to invest $500 at 12% compounded annually.

How much money would you have after 10, 20 and 30 years?

A = P(1+r)^t