$10,000 at 12% compounded yearly for 40 years
Amount after 40 years is gien by:
10000×(1+0.12)40=930509.7044136369615161
Which is (rounded to the nearest cent)........ $ 930, 509. 70