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)
Please solve this question using 'viewSolid' or 'viewSolidOne' libraries.

Answers (2)

PRASANNA GANASALA
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
Walter Roberson on 19 Oct 2016

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!