finance_tvm
Solve time-value-of-money problems: given any four of N, I, PV, PMT, FV, compute the missing variable for loans or annuities.
Instructions
When: time-value-of-money (loan/annuity) — solve one of N,I,PV,PMT,FV. Params: solve_for=N|I|PV|PMT|FV; provide the other four; I is annual %; P_Y payments/year (default 1); C_Y compounds/year (default=P_Y); begin=True for BGN. Signs: outflow negative / inflow positive, kept consistent. Example: solve_for="PMT", N=12, I=6, PV=-1000, FV=0.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| I | No | ||
| N | No | ||
| FV | No | ||
| PV | No | ||
| C_Y | No | ||
| PMT | No | ||
| P_Y | No | ||
| begin | No | ||
| solve_for | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |