TI-BASIC:Irr
Command Summary
Calculates the [wikipedia:Internal_rate_of_return Internal Rate of Return] of an investment.
Command Syntax
irr(CF0,CFList,[freq])
Menu Location
On the TI-83, press:
- 2nd FINANCE to access the finance menu.
- 8 to select irr(, or use arrows and ENTER.
On the TI-83+ or higher, press:
- APPS to access the applications menu.
- 1 or ENTER to select Finance...
- 8 to select irr(, or use arrows and ENTER.
TI-83/84/+/SE
2 bytes
The irr( command finds the [wikipedia:Internal_rate_of_return Internal Rate of Return] of an investment, which is a measure of its efficiency. Its mathematical interpretation is the interest rate for which Npv( will return 0 for the same cash flows.
irr( takes three arguments: an initial cash flow (CF0), a list of further cash flows (CFList), and an optional frequency list.
Advanced Uses
irr( can be used to find a root of a polynomial of any degree, give by a list of its coefficients:
1+.01irr(0,{list of coefficients})
However, this method is limited to finding roots greater than 1, and will throw an error (ERR:NO SIGN CHG or ERR:DIVIDE BY 0) if it can't find such roots. By reversing the list of coefficients and taking the reciprocal of the roots found, you could find roots less than 1, but this would still result in errors if such roots don't exist either.
Using Solve( to find roots of polynomials is less efficient, but more reliable, since it doesn't throw an error unless there are no roots at all to be found.
Formulas
Solving for irr( requires solving a polynomial with degree equal to the total number of cash flows. As such, there is no general formula for calculating irr(, though numerical methods are possible for finding an approximate solution.
The polynomial associated with the calculation is:
<math> \definecolor{darkgreen}{rgb}{0.90,0.91,0.859}\pagecolor{darkgreen} \sum_{i=0}^{N}{C_i\left(1+\frac{\mathrm{Irr}}{100}\right)^{N-i}}=0 </math>
Here, Irr is the internal rate of return, N is the number of cash flows, and C,,t,, is the t th cash flow.
To the calculator, only roots for which Irr>0 are considered to be viable.
Error Conditions
- ERR:DIM MISMATCH is thrown if the frequency list's size doesn't match the cash flow list's size.
- ERR:DIVIDE BY 0 is thrown if the solution that is found is Irr=0.
- ERR:NO SIGN CHG is thrown if no positive real solution is found.