Calculate investment growth over time using compound interest.