第三讲 用Mathematica解方程.pptVIP

  • 6
  • 0
  • 约 9页
  • 2017-05-28 发布于四川
  • 举报
* * 第三讲 用Mathematica 的相应功能解方程 用Mathematica的相应功能解方程 求解联立方程 在Mathematica中用于解方程 f(x)=0的命令 微分方程 在Mathematica中用于解方程f(x)=0的命令 Solve[ f[x] == 0,x ] NSolve[ f[x] == 0,x ] Roots[ f[x] == 0,x ] Reduce[ f[x] == 0,x ] FindRoot[ f[x] == 0, {x,x0 ] FindRoot[ f[x] == 0, {x,x0,x1} ] Solve[ ] Solve可以给出4次以下方程的精确解。 如: 命令:Solve[ 2ab+2ax+2bx-3abx+2a^2-3ax^2+abx^2 – 3x^3+4x^3+bx^3+x^4==0, x] 如: 命令:Solve[ x^3+x^2+a*x+b==0, x] Nsolve[ ] NSolve能求出5次及5次以上的方程近似解。 如: 命令:NSolve[ x^5+x^2-x+3==0, x] 命令:Solve[ x^5+x^2-x+3==0, x] 如: 求解联立方程

文档评论(0)

1亿VIP精品文档

相关文档