Set up a double integral to find the volume of the hoof of Archimedes, which is the solid region bounded by the planes z = y, z = 0, and the cylinder x^2 + y^2 = 1.
5 views (last 30 days)
Show older comments
Please solve this question using 'viewSolid' or 'viewSolidOne' libraries.
Answers (2)
PRASANNA GANASALA
on 23 Jan 2021
Edited: PRASANNA GANASALA
on 23 Jan 2021
%My math sir gave me the answer : )
NOTE: Before running this code, you should have a viewSolid file in the current folder you saved your code. If you aren't aware of the viewSolid code, please open the below link, copy and then paste into a new script and save it as "viewSolid.m" and then run.
LINK: http://www2.math.umd.edu/~jmr/241/mfiles/viewSolid.m
All the Best...!!!
%%
clc
clear all
syms x y z
I = int(int(y,y,0,sqrt(1-x^2)),x,-1,1)
viewSolid(z,0+0*x+0*y,y,y,0+0*x,sqrt(1-x^2),x,-1,1)
Walter Roberson
on 19 Oct 2016
viewSolid is not part of MATLAB.
I suggest you have first read http://www.mathworks.com/matlabcentral/answers/6200-tutorial-how-to-ask-a-question-on-answers-and-get-a-fast-answer and then have a look at https://www3.nd.edu/~nancy/Math20550/Matlab/Assignments/DoubleIntegrals/doubleint.html
1 Comment
PRASANNA GANASALA
on 22 Jan 2021
But we could make a viewSolid file by copy-paste, and then solve right?
See Also
Categories
Find more on Matrices and Arrays in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!