MATLAB Answers

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.

35 views (last 30 days)

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)

Community Treasure Hunt

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

Start Hunting!