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 Comment

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

Sign in to comment.

Answers (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)

Asked:

on 15 Oct 2019

Community Treasure Hunt

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

Start Hunting!