TI-BASIC:Irr

From Learn @ Cemetech
Revision as of 19:12, 24 February 2016 by KermMartian (talk | contribs)
Jump to navigationJump to search

IRR.GIF

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:

  1. 2nd FINANCE to access the finance menu.
  2. 8 to select irr(, or use arrows and ENTER.

On the TI-83+ or higher, press:

  1. APPS to access the applications menu.
  2. 1 or ENTER to select Finance...
  3. 8 to select irr(, or use arrows and ENTER.

Calculator Compatibility

TI-83/84/+/SE

Token Size

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

Related Commands