[a,t]=solve('200*cos(a)*t=360','200*sin(a)*t-5*t∧2=160') 用matlab求该方程组...[a,t]=solve('200*cos(a)*t=360','200*sin(a)*t-5*t∧2=160') 用matlab求该方程组,得不到解是为什么得到a的解是z1,t=1.8/cos(z1)
来源:学生作业帮助网 编辑:六六作业网 时间:2024/11/17 19:37:45
[a,t]=solve('200*cos(a)*t=360','200*sin(a)*t-5*t∧2=160') 用matlab求该方程组...[a,t]=solve('200*cos(a)*t=360','200*sin(a)*t-5*t∧2=160') 用matlab求该方程组,得不到解是为什么得到a的解是z1,t=1.8/cos(z1)
[a,t]=solve('200*cos(a)*t=360','200*sin(a)*t-5*t∧2=160') 用matlab求该方程组...
[a,t]=solve('200*cos(a)*t=360','200*sin(a)*t-5*t∧2=160')
用matlab求该方程组,得不到解是为什么
得到a的解是z1,t=1.8/cos(z1)
[a,t]=solve('200*cos(a)*t=360','200*sin(a)*t-5*t∧2=160') 用matlab求该方程组...[a,t]=solve('200*cos(a)*t=360','200*sin(a)*t-5*t∧2=160') 用matlab求该方程组,得不到解是为什么得到a的解是z1,t=1.8/cos(z1)
纠正“=”是中文状态下输入的,matlab不认
clc,clear all
S=solve('200*cos(a)*t=360','200*sin(a)*t-5*t^2=160');
S.a %求出a
S.t %求出t
输出结果:
S.a=
-2*atan((5*(8*9119^(1/2) + 768)^(3/2))/7048 - (980*(8*9119^(1/2) + 768)^(1/2))/881 - (9*9119^(1/2))/881 + 900/881)
2*atan((980*(768 - 8*9119^(1/2))^(1/2))/881 - (9*9119^(1/2))/881 - (5*(768 - 8*9119^(1/2))^(3/2))/7048 - 900/881)
-2*atan((980*(8*9119^(1/2) + 768)^(1/2))/881 - (9*9119^(1/2))/881 - (5*(8*9119^(1/2) + 768)^(3/2))/7048 + 900/881)
2*atan((5*(768 - 8*9119^(1/2))^(3/2))/7048 - (980*(768 - 8*9119^(1/2))^(1/2))/881 - (9*9119^(1/2))/881 - 900/881)
S.t=
(8*9119^(1/2) + 768)^(1/2)
(768 - 8*9119^(1/2))^(1/2)
-(8*9119^(1/2) + 768)^(1/2)
-(768 - 8*9119^(1/2))^(1/2)
你的程序有几个错误:
1,“=”是中文状态下输入的,matlab不认;
2,cos(a)*t 写法错误,改为:cos(a*t).
修改如下:
[a,t]=solve('200*cos(a*t)=360','200*sin(a*t)-5*t^2=160')
结果如下:
a =
1/4*atan(2...
全部展开
你的程序有几个错误:
1,“=”是中文状态下输入的,matlab不认;
2,cos(a)*t 写法错误,改为:cos(a*t).
修改如下:
[a,t]=solve('200*cos(a*t)=360','200*sin(a*t)-5*t^2=160')
结果如下:
a =
1/4*atan(2/5*i*14^(1/2),9/5)/(-2+i*14^(1/2))^(1/2)
-1/4*atan(2/5*i*14^(1/2),9/5)/(-2+i*14^(1/2))^(1/2)
-1/4*atan(-2/5*i*14^(1/2),9/5)/(2+i*14^(1/2))*(-2-i*14^(1/2))^(1/2)
1/4*atan(-2/5*i*14^(1/2),9/5)/(2+i*14^(1/2))*(-2-i*14^(1/2))^(1/2)
t =
4*(-2+i*14^(1/2))^(1/2)
-4*(-2+i*14^(1/2))^(1/2)
4*(-2-i*14^(1/2))^(1/2)
-4*(-2-i*14^(1/2))^(1/2)
收起