compare_lumpsum_vs_sip
Determine whether a lump sum investment or a systematic investment plan (SIP) yields higher returns for the same total amount, based on annual return and time horizon.
Instructions
Compare lump sum investment vs SIP for the same total amount. Lump sum: invest everything today. SIP: spread equally over the period.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| years | Yes | ||
| total_amount | Yes | ||
| annual_return | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |