搜索内容 搜索用户

# [已解决] 新人求助三角函数方程组求解

 本帖最后由 阿啵呲嘚abcd 于 2021-4-8 16:15 编辑 这是我的程序[x,y]=solve('(sin(x/0.175)-sin(y/0.175))/(sin(x+y)/0.175)=23/25','(sin(y)*(1-cos(x)))/(sin(x+y))=11.58','x','y') 一直报错错误使用 solve>getEqns (line 418) List of equations must not be empty. 出错 solve (line 226) [eqns,vars,options] = getEqns(varargin{:}); 请问应该怎么办，还是说我的程序写的不对。 要求的方程组图片附件如下

EngineerLeon 发表于 2021-4-8 16:21:33
 你用的语法太旧了 syms x y [ x, y ] = vpasolve( [ (sin(x/0.175)-sin(y/0.175))/(sin(x+y)/0.175) == 23/25, (sin(y)*(1-cos(x)))/(sin(x+y)) == 11.58 ], [ x, y ] )复制代码 x = -227.11002564009637389537443672387 y = 98.332014440735965543386148678695

2 条回复

## 倒序浏览

EngineerLeon 发表于 2021-4-8 16:21:33
 你用的语法太旧了 syms x y [ x, y ] = vpasolve( [ (sin(x/0.175)-sin(y/0.175))/(sin(x+y)/0.175) == 23/25, (sin(y)*(1-cos(x)))/(sin(x+y)) == 11.58 ], [ x, y ] )复制代码 x = -227.11002564009637389537443672387 y = 98.332014440735965543386148678695

 EngineerLeon 发表于 2021-4-8 16:21 你用的语法太旧了 x = 万分感谢您
 您需要登录后才可以回帖 登录 | 注册 本版积分规则 回帖后跳转到最后一页