npv_irr
Calculate Net Present Value (NPV) and Internal Rate of Return (IRR) via iterative Newton-Raphson polynomial convergence for capital budgeting, investment appraisal, and payback periods.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cashflows | Yes | Series of sequential cash inflows ($) | |
| initialInvestment | Yes | Initial capital outlay / outflow at period 0 ($) | |
| discountRatePercent | No | Annual hurdle / discount rate % |