compound_interest
Calculate compound interest growth over time. Input principal, annual rate, time period, compounding frequency, and optional monthly contributions to project final value.
Instructions
Calculate compound interest growth over time with optional monthly contributions.
Parameters:
principal — Initial principal amount.
rate — Annual interest rate (e.g. 5.0 for 5%).
time — Time period in years.
compound — Compound frequency.
contributions — Optional contribution amount (default: 0).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| principal | Yes | ||
| rate | Yes | ||
| time | Yes | ||
| compound | No | annually | |
| contributions | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |