investment_calculator
Calculate investment growth with compound interest and optional monthly contributions. Input principal, expected rate, years, and contribution to project future value.
Instructions
Calculate investment growth with compound interest and optional monthly contributions.
Parameters:
principal — Initial investment amount.
rate — Expected annual return rate (e.g. 7.0 for 7%).
years — Investment time horizon in years.
contribution — Optional monthly contribution amount (default: 0).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| principal | Yes | ||
| rate | Yes | ||
| years | Yes | ||
| contribution | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |