当前位置: 首页 > 程序语言 >采用mathematica求解三元一次方程组

采用mathematica求解三元一次方程组

作者 wxqnano
来源: 小木虫 150 3 举报帖子
+关注

我这边遇到一组方程组,求解x,y,z的值。方程组如下:
  1、  x(coth44y-1/44y)+19864z=4.4;
  2、  x(coth22y-1/22y)+9927z=4.36;
  3、  x(coth3y-1/3y)+1319z=3.28;

   我采用mathematica求解上述方程组,编程如下:
   Solve[{x*Coth[44y]-x/44y+19864z==4.4&&x*Coth[22y]-x/22y+9927z==4.36&&x*Coth[3y]-x/3y+1319z==3.28},{x,y,z}]。
  
   求解时显示:我这个程序 is not quantified system of equations and inequalities.


   求助大侠指点,帮我看看我的编程是否有误,万分感谢! 返回小木虫查看更多

今日热帖
  • 精华评论
  • 随堂测验青青

    可以用NMinimize来解,NMinimize

  • wxqnano

    引用回帖:
    2楼: Originally posted by 随堂测验青青 at 2018-10-19 19:11:08
    可以用NMinimize来解,NMinimize

    你好,我这样输入的:NMinmize[(x*Coth[44 y] - x/44 y + 19864 z - 4.4)^2 + (x*Coth[22 y] -
         x/22 y + 9927 z - 4.36)^2 + (x*Coth[3 y] - x/3 y + 1319 z -
         3.28)^2, {x, y, z}]
    输出结果如下:NMinmize[(-3.28 - (x y)/3 + 1319 z + x Coth[3 y])^2 + (-4.36 - (x y)/
        22 + 9927 z + x Coth[22 y])^2 + (-4.4 - (x y)/44 + 19864 z +
        x Coth[44 y])^2, {x, y, z}]

    不知我是否输入程序有误,结果我看不懂,请指教

猜你喜欢
下载小木虫APP
与700万科研达人随时交流
  • 二维码
  • IOS
  • 安卓