How do I write an expression like this question in matlab codes and execute it without errors but logical answers?
15 views (last 30 days)
Show older comments
Eneriko Ratuloaloa
on 5 Oct 2018
Commented: Walter Roberson
on 13 Jan 2023
Using double integral.Find the volume of the solid lying under the elliptic paraboloid x2/4+y2/9+ z = 1 and above the rectangle R = [−1,1]×[−2,2]
6 Comments
madhan ravi
on 5 Oct 2018
select the whole code and press the code button{} so that its easier to read
Accepted Answer
Dimitris Kalogiros
on 5 Oct 2018
Edited: Dimitris Kalogiros
on 5 Oct 2018
Try the following script
close all
clearvars
syms x y z
z=-(x^2)/4 - (y^2)/9 +1
fsurf(z);
xlabel('x'); ylabel('y'); zlabel('z');
vol= int( int(z, x, -1, 1 ) , y, -2, 2)
If you run it, it would give something like this:
More Answers (1)
satish
on 13 Jan 2023
find the volume of the solid S that is bounded by the elliptic paraboloid x^2+2*y^2+z-16=0, the planes x=2 and y=2 and the three coordinate planes.
1 Comment
Walter Roberson
on 13 Jan 2023
please expand on the mathematics to demonstrate that this volume is the same as the volume that the original poster was asking about. The identity of those two volumes is not obvious to me, so I do not understand how this is a solution to the question asked.
See Also
Categories
Find more on Polygons in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!