此为 Mathematica 4 文档,内容基于更早版本的 Wolfram 语言
查看最新文档(版本11.1)

NSolve

Usage

NSolve[lhsEqualrhs, var] 给出一个多项式方程根的数值近似.


Notes

NSolve[eqn, var, n]给出具有n个数位精度的结果.
NSolve[eqn, var]给出与N[Solve[eqn, var]]一样的最后结果,只是数值精度不同.
• 参见 Mathematica全书: 1.6.3节, 3.4.2节, 3.9.1节, 3.9.5节 和 3.9.5节.
• 实现注释: 参见 A.9.4节.
• 同时参见: Solve, FindRoot, NDSolve.
• 相关包: NumberTheory`Recognize`.
Further Examples

Here is a degree-10 polynomial.

In[1]:=  

Out[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]=