%计算三元函数f(x,y,z)=x+y+z在抛物面z=x^2+2*y^2和z=6-2*x^2-y^2所围区域的积分
syms x y z;
f=@(x,y,z)x+y+z;
z1=6-2*x^2-y^2;
z2=x^2+2*y^2;
y1=-sqrt(2-x^2);
y2=sqrt(2-x^2);
 x1=-sqrt(2);
x2=sqrt(2);
b=int(int(int(f,z,z2,z1),y,y1,y2),x,x1,x2)
 