Calculate investment growth with compound interest including regular contributions and time visualization