Numerical Solution of Polynomial Equations
When
Solve cannot find solutions in terms of radicals to polynomial equations, it returns a symbolic form of the result in terms of
Root objects.
| Out[1]= |  |
You can get numerical solutions by applying
N.
| Out[2]= |  |
This gives the numerical solutions to 25-digit precision.
| Out[3]= |  |
You can use
NSolve to get numerical solutions to polynomial equations directly, without first trying to find exact results.
| Out[4]= |  |
| NSolve[poly==0,x] | get approximate numerical solutions to a polynomial equation |
| NSolve[poly==0,x,n] | get solutions using -digit precision arithmetic |
| NSolve[{eqn1,eqn2,...},{var1,var2,...}] |
| get solutions to a polynomial system |
Numerical solution of polynomial equations and systems.
NSolve will give you the complete set of numerical solutions to any polynomial equation or system of polynomial equations.
NSolve can find solutions to sets of simultaneous polynomial equations.
| Out[5]= |  |