CASCALC89 COMMAND · NOT ON THE TI-89
polyRoots(
Returns the real roots of a polynomial as a list.
Syntax
polyRoots(poly[, var])
- Group
- Algebra
- Arguments
- Takes the polynomial and an optional variable.
- Availability
- Included
- Origin
- TI-Nspire CAS style command; the TI-89 Titanium handheld does not have it
Example
| Input | Result |
|---|---|
| polyRoots(x^2-5x+6,x) | {2,3} |
Typing polyRoots(x^2-5x+6,x) on the home screen and pressing ENTER returns {2,3}.
Related commands
- propFrac(Rewrites a fraction as a proper fraction: a whole part plus a remainder fraction.
- right(Returns the right side of an equation or inequality.
- solve(Solves an equation or inequality for a variable and returns the real solutions, joined with or.
- tCollect(Collects products and integer powers of sines and cosines into sines and cosines of multiple angles.
- tExpand(Expands sines and cosines of sums and multiple angles into products of sines and cosines of single angles.
- when(Returns one of several values depending on whether a condition is true, false or undecided.
- zeros(Returns the real values of the variable that make an expression zero, as a list.
- approx(Evaluates an expression numerically and returns a decimal approximation, even when the calculator is in exact mode.