NRoots

NRoots[lhs==rhs,var]

yields a disjunction of equations which represent numerical approximations to the roots of a polynomial equation.

Details and Options

Examples

Basic Examples  (1)

Numerically find the roots of a polynomial:

In[1]:=
Click for copyable input
Out[1]=

Change the result to rules:

In[2]:=
Click for copyable input
Out[2]=

Test the roots:

In[3]:=
Click for copyable input
Out[3]=

See Also

NSolve  Roots  Solve  FindRoot  RootIntervals

Introduced in 1988
(1.0)
| Updated in 2007
(6.0)