matlab 积分后怎么还有变量?syms x y;A=5;pp=3;p=pp./10;l=(A./(1+(pi-4).*(p.^2))).^0.5;x1=cos(abs(x./(l./2)));y1=cos(abs(y./(l./2)));x2=1.16.*(exp(-1.24).*x1);y2=1.16.*(exp(-1.24).*y1);T=x2.*y2;t=T.*(20-1200)+1200;T1=int(int(t,y,0,0.5.*l),x,0,0
来源:学生作业帮助网 编辑:作业帮 时间:2024/11/17 05:57:52
matlab 积分后怎么还有变量?syms x y;A=5;pp=3;p=pp./10;l=(A./(1+(pi-4).*(p.^2))).^0.5;x1=cos(abs(x./(l./2)));y1=cos(abs(y./(l./2)));x2=1.16.*(exp(-1.24).*x1);y2=1.16.*(exp(-1.24).*y1);T=x2.*y2;t=T.*(20-1200)+1200;T1=int(int(t,y,0,0.5.*l),x,0,0
matlab 积分后怎么还有变量?
syms x y;
A=5;
pp=3;
p=pp./10;
l=(A./(1+(pi-4).*(p.^2))).^0.5;
x1=cos(abs(x./(l./2)));
y1=cos(abs(y./(l./2)));
x2=1.16.*(exp(-1.24).*x1);
y2=1.16.*(exp(-1.24).*y1);
T=x2.*y2;
t=T.*(20-1200)+1200;
T1=int(int(t,y,0,0.5.*l),x,0,0.5.*l-p.*l);
T2=int(int(t,x,(0.5.*l-p.*l),0.5.*l),y,0,((0.5*l-p.*l)+((p.*l).^2-(x-(0.5*l-p.*l)).^2).^0.5));
上述是我matlab程序,运行后T2竟然里面还包含x,这是为什么呢?
matlab 积分后怎么还有变量?syms x y;A=5;pp=3;p=pp./10;l=(A./(1+(pi-4).*(p.^2))).^0.5;x1=cos(abs(x./(l./2)));y1=cos(abs(y./(l./2)));x2=1.16.*(exp(-1.24).*x1);y2=1.16.*(exp(-1.24).*y1);T=x2.*y2;t=T.*(20-1200)+1200;T1=int(int(t,y,0,0.5.*l),x,0,0
应该是你的积分式过于复杂了,matlab自带的符号工具箱算不出来了,可以尝试挂上maple符号工具箱算,或者把两次积分逐次计算