matlab解二元一次方程求助l1=36.5;l2=138.5;l3=100;l4=200;syms x ysolve('l1*cos(x)+l2*cos(y)=l4+l3*cos(-2)','l1*sin(x)+l2*sin(y)=l3sin(-2)','x','y')ans = x:[2x1 sym]y:[2x1 sym]

来源:学生作业帮助网 编辑:六六作业网 时间:2024/12/28 22:50:37
matlab解二元一次方程求助l1=36.5;l2=138.5;l3=100;l4=200;symsxysolve(''l1*cos(x)+l2*cos(y)=l4+l3*cos(-2)'',''l1*si

matlab解二元一次方程求助l1=36.5;l2=138.5;l3=100;l4=200;syms x ysolve('l1*cos(x)+l2*cos(y)=l4+l3*cos(-2)','l1*sin(x)+l2*sin(y)=l3sin(-2)','x','y')ans = x:[2x1 sym]y:[2x1 sym]
matlab解二元一次方程求助
l1=36.5;
l2=138.5;
l3=100;
l4=200;
syms x y
solve('l1*cos(x)+l2*cos(y)=l4+l3*cos(-2)','l1*sin(x)+l2*sin(y)=l3sin(-2)','x','y')
ans =
x:[2x1 sym]
y:[2x1 sym]

matlab解二元一次方程求助l1=36.5;l2=138.5;l3=100;l4=200;syms x ysolve('l1*cos(x)+l2*cos(y)=l4+l3*cos(-2)','l1*sin(x)+l2*sin(y)=l3sin(-2)','x','y')ans = x:[2x1 sym]y:[2x1 sym]
显示值很简单,完了在你语句的基础上,再加一句:x=subs(x);y=subs(y);
转换成数值解.

有两个x的值和两个y的值

意思是 有两个x的值和两个y的值;