volume using double integral

Matlab code to find the volume of the solid (using double integral) bounded by x^2 + y^2= 9 , y + z= 4 and z=0.

1 个评论

You might want to try integral2 and use polar coordinates since your domain is a circle. See the help file.

请先登录,再进行评论。

回答(2 个)

Hello friend try this:
clc,clear
syms x y z
x_1= sqrt(9-y^2);
z= (4-y)
y_0=-3;
y_1=3;
volumen= int(int(z,x,0,x_1),y,y_0,y_1)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by