tvm_npv
Calculate net present value of a cash flow series at a given discount rate. Returns NPV, profitability index, and discounted cash flow breakdown.
Instructions
Net present value of a cash flow series at a given discount rate.
Use when computing net present value of a series of cash flows. Provide discount rate and an array of cash flows (first is typically negative for initial investment). Returns: NPV, profitability index, and discounted cash flow breakdown.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cash_flows | Yes | Array of future cash flows (period 1 onward) | |
| discount_rate | Yes | Discount rate per period |