CASCALC89 COMMAND · NOT ON THE TI-89
cPolyRoots(
Returns all roots of a polynomial as a list, including non-real complex roots.
Syntax
cPolyRoots(poly[, var])
- Group
- Algebra
- Arguments
- Takes the polynomial and an optional variable.
- Availability
- Pro feature in Calc89
- Origin
- TI-Nspire CAS style command; the TI-89 Titanium handheld does not have it
Example
| Input | Result |
|---|---|
| cPolyRoots(x^2+1,x) | {−ⅈ,ⅈ} |
Typing cPolyRoots(x^2+1,x) on the home screen and pressing ENTER returns {−ⅈ,ⅈ}.
Related commands
- cSolve(Solves an equation over the complex numbers and returns both real and non-real solutions.
- cZeros(Returns the real and non-real zeros of an expression as a list.
- domain(Returns the domain of an expression with respect to a variable as a condition, for example x≠0.
- exact(Converts a decimal or approximate value into an exact rational form where possible.
- expand(Multiplies out products and powers in an expression and returns a sum of terms.
- exp▶list(Extracts the values from a solution such as x=1 or x=2 and returns them as a list.
- factor(Factors an expression over the rational numbers, for example a polynomial into linear and irreducible quadratic factors.
- getDenom(Returns the denominator of a fraction after the expression has been reduced to a common denominator.