calculate_irr
Calculate the Internal Rate of Return (IRR) from monthly cash flows where NPV equals zero, using bisection method for petroleum economic analysis.
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 |