calculate_irr
Calculate Internal Rate of Return for petroleum projects by finding the discount rate where net present value equals zero using monthly cash flow data.
Instructions
Calculate Internal Rate of Return via bisection.
IRR is the annual discount rate at which NPV = 0.
Args: cash_flows: Monthly cash flows ($). First element is typically negative (capex).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cash_flows | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |