NSolve
Usage
Notes
Further Examples
Here is a degree- polynomial.
In[1]:=
|
Although Solve will find all of the solutions in symbolic form, NSolve is the function to use if you ultimately want numerical solutions.
In[2]:=
|
Out[2]=
|
Here is a high degree polynomial.
In[3]:=
|
Not all roots are correct using default precision.
In[4]:=
|
Out[4]=
|
Increasing the precision beyond machine precision gives all the roots correctly.
In[5]:=
|
Out[5]=
|
Here NSolve gives the solutions of an algebraic equation.
In[6]:=
|
Out[6]=
|
This finds the intersection of a pair of parametrized curves.
In[7]:=
|
In[8]:=
|
In[9]:=
|
Out[9]=
|
In[10]:=
|
|