用matlab求二重积分>> syms x y;>>f=exp(-x^2/2)*sin(x^2+y);>>int(int(f,y,-2,2),x,-1,1)输出是ans=(10^(1/2)*(1-2*i)^(1/2)*pi^(1/2)*erf((2+4*i)^(1/2)/2)*sin(2)*i)/5- (10^(1/2)*(1 + 2*i)^(1/2)*pi^(1/2)*erf((2 - 4*i)^(1/2)/2)*sin(2)*i)/5为什么
来源:学生作业帮助网 编辑:作业帮 时间:2024/09/03 11:58:59
用matlab求二重积分>> syms x y;>>f=exp(-x^2/2)*sin(x^2+y);>>int(int(f,y,-2,2),x,-1,1)输出是ans=(10^(1/2)*(1-2*i)^(1/2)*pi^(1/2)*erf((2+4*i)^(1/2)/2)*sin(2)*i)/5- (10^(1/2)*(1 + 2*i)^(1/2)*pi^(1/2)*erf((2 - 4*i)^(1/2)/2)*sin(2)*i)/5为什么
用matlab求二重积分
>> syms x y;
>>f=exp(-x^2/2)*sin(x^2+y);
>>int(int(f,y,-2,2),x,-1,1)
输出是
ans=(10^(1/2)*(1-2*i)^(1/2)*pi^(1/2)*erf((2+4*i)^(1/2)/2)*sin(2)*i)/5- (10^(1/2)*(1 + 2*i)^(1/2)*pi^(1/2)*erf((2 - 4*i)^(1/2)/2)*sin(2)*i)/5
为什么不是个数呢?
用matlab求二重积分>> syms x y;>>f=exp(-x^2/2)*sin(x^2+y);>>int(int(f,y,-2,2),x,-1,1)输出是ans=(10^(1/2)*(1-2*i)^(1/2)*pi^(1/2)*erf((2+4*i)^(1/2)/2)*sin(2)*i)/5- (10^(1/2)*(1 + 2*i)^(1/2)*pi^(1/2)*erf((2 - 4*i)^(1/2)/2)*sin(2)*i)/5为什么
结果里没有x和y,就是一个数值啊...
result = int(int(f,y,-2,2),x,-1,1);
vpa(result)
ans =
.84884359988601876434271922955192+.45823903690880558106265166987066e-33*i