各位高人看下下面用MATLAB计算的的方程哪出错了[x y z w]=solve('x*cos(y)=125*cos(pi/3)','x*sin(y)=275+125*sin(pi/3)','600*cos(y)+150*cos(z)-w=0','600*sin(y)+150*sin(z)=300','x,y,z,w')Error using solve>getEqns (line 292)' x*s
来源:学生作业帮助网 编辑:作业帮 时间:2024/11/01 13:33:58
各位高人看下下面用MATLAB计算的的方程哪出错了[x y z w]=solve('x*cos(y)=125*cos(pi/3)','x*sin(y)=275+125*sin(pi/3)','600*cos(y)+150*cos(z)-w=0','600*sin(y)+150*sin(z)=300','x,y,z,w')Error using solve>getEqns (line 292)' x*s
各位高人看下下面用MATLAB计算的的方程哪出错了
[x y z w]=solve('x*cos(y)=125*cos(pi/3)','x*sin(y)=275+125*sin(pi/3)','600*cos(y)+150*cos(z)-w=0','600*sin(y)+150*sin(z)=300','x,y,z,w')
Error using solve>getEqns (line 292)
' x*sin(y)=275+125*sin(pi/3) ' is not a valid expression or equation.
Error in solve (line 141)
[eqns,vars,options] = getEqns(varargin{:});
各位高人看下下面用MATLAB计算的的方程哪出错了[x y z w]=solve('x*cos(y)=125*cos(pi/3)','x*sin(y)=275+125*sin(pi/3)','600*cos(y)+150*cos(z)-w=0','600*sin(y)+150*sin(z)=300','x,y,z,w')Error using solve>getEqns (line 292)' x*s
你再重写一遍!你好像用了中文输入法,不要用中文输入法
[x y z w]=solve('x*cos(y)=125*cos(pi/3)','x*sin(y)=275+125*sin(pi/3)','600*cos(y)+150*cos(z)-w=0 ','600*sin(y)+150*sin(z)=300','x','y','z','w')
x =
30/149842081*(89359300*(146+55*3^(1/2))^(1/2)-33662750*(146+55*3^(1/2))^(1/2)*3^(1/2)+12241^(1/2)*(-(66707023475+1683137500*3^(1/2)+96000*((1787186-673255*3^(1/2))*(146+55*3^(1/2)))^(1/2)*(146+55*3^(1/2))^(1/2)*3^(1/2)-477400*((1787186-673255*3^(1/2))*(146+55*3^(1/2)))^(1/2)*(146+55*3^(1/2))^(1/2))/(146-55*3^(1/2))/(146+55*3^(1/2)))^(1/2)*((1787186-673255*3^(1/2))*(146+55*3^(1/2)))^(1/2))/(-1/12241*(-146+55*3^(1/2))*(146+55*3^(1/2)))^(1/2)
30/149842081*(-89359300*(146+55*3^(1/2))^(1/2)+33662750*(146+55*3^(1/2))^(1/2)*3^(1/2)+12241^(1/2)*(-(66707023475+1683137500*3^(1/2)-96000*((1787186-673255*3^(1/2))*(146+55*3^(1/2)))^(1/2)*(146+55*3^(1/2))^(1/2)*3^(1/2)+477400*((1787186-673255*3^(1/2))*(146+55*3^(1/2)))^(1/2)*(146+55*3^(1/2))^(1/2))/(146-55*3^(1/2))/(146+55*3^(1/2)))^(1/2)*((1787186-673255*3^(1/2))*(146+55*3^(1/2)))^(1/2))/(-1/12241*(-146+55*3^(1/2))*(146+55*3^(1/2)))^(1/2)
y =
25*(146+55*3^(1/2))^(1/2)
-25*(146+55*3^(1/2))^(1/2)
z =
atan((-240/12241*(146+55*3^(1/2))^(1/2)*3^(1/2)+2387/24482*(146+55*3^(1/2))^(1/2))/(365/12241*(146+55*3^(1/2))^(1/2)-275/24482*(146+55*3^(1/2))^(1/2)*3^(1/2)))
atan((240/12241*(146+55*3^(1/2))^(1/2)*3^(1/2)-2387/24482*(146+55*3^(1/2))^(1/2))/(-365/12241*(146+55*3^(1/2))^(1/2)+275/24482*(146+55*3^(1/2))^(1/2)*3^(1/2)))-pi
w =
asin(2/306025*(12000*(146+55*3^(1/2))^(1/2)*3^(1/2)-59675*(146+55*3^(1/2))^(1/2)+25*((1787186-673255*3^(1/2))*(146+55*3^(1/2)))^(1/2))/(-1/12241*(-146+55*3^(1/2))*(146+55*3^(1/2)))^(1/2))
asin(2/306025*(-12000*(146+55*3^(1/2))^(1/2)*3^(1/2)+59675*(146+55*3^(1/2))^(1/2)+25*((1787186-673255*3^(1/2))*(146+55*3^(1/2)))^(1/2))/(-1/12241*(-146+55*3^(1/2))*(146+55*3^(1/2)))^(1/2))