Roots of a function: Difference between revisions

→‎TI-89 BASIC: new example
(→‎TI-89 BASIC: new example)
Line 673:
{x {expr {$x**3 - 3*$x**2 + 2*$x}}} \
{x {expr {3*$x**2 - 6*$x + 2}}}]</lang>
 
=={{header|TI-89 BASIC}}==
 
Finding roots is a built-in function: <code>zeros(x^3-3x^2+2x, x)</code> returns <code>{0,1,2}</code>.
 
In this case, the roots are exact; inexact results are marked by decimal points.