%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)
1 Comment
Direct link to this comment
https://ch.mathworks.com/matlabcentral/answers/308054-set-up-a-double-integral-to-find-the-volume-of-the-hoof-of-archimedes-which-is-the-solid-region-bou#comment_1278883
Direct link to this comment
https://ch.mathworks.com/matlabcentral/answers/308054-set-up-a-double-integral-to-find-the-volume-of-the-hoof-of-archimedes-which-is-the-solid-region-bou#comment_1278883
Sign in to comment.