python compoundInterestCalculator.py
This code calculates the total future value of investments including several factors as follows:
- Initial amount invested
- Monthly investments
- Expected Annual Return in percentage
- Expected Annual Increase in Income in percentage
- Expected Annual Inflation in percentage
- Duration over which the value is calculated
All monthly deposits are after-tax. The total value of the investments is before capital gains tax.
Following are the results for:
- Initial amount invested = $0
- Monthly investments = $2000
- Expected Annual Return in percentage = 15%
- Expected Annual Increase in Income in percentage = 10%
- Expected Annual Inflation in percentage = 2.5%
- Duration over which the value is calculated = 20 years