investment_calculator
Compute investment returns with compound interest and recurring deposits to estimate growth over time.
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 |