YOU HAVE TO WRITE THE CODE ON MATLAB. WRITE ON M-files and publish it. 1. Let R
ID: 2249287 • Letter: Y
Question
YOU HAVE TO WRITE THE CODE ON MATLAB. WRITE ON M-files and publish it.
1. Let R be the region in the plane bounded by y = x,y = 0 and X-1 . Set up an iterated double integral to evaluate (C-e"dA. Your work should produce a single M-file that gives the following output: a. Uses Matlab's symbolics to find the exact value of the double integral. b. Uses quadv to obtain a numerical estimate for the double integral. Integrate the given double integral by hand Asolid hemisphere defined by0sx2+y2+22 2. 4 andzsW has a density function (x,y,z)=x2 +y2+22. Set up a triple integral in spherical coordinates to find the mass of the hemisphere. Use Matlab to evaluate the iterated triple integral. Evaluate the mass of the hemisphere by hand. Determine the height z-Zo such that the half of the mass of the hemisphere lies between z = 0 and z-20. Use Matlab to carry out any necessary computations. Check your work by hand and submit it. a. b. 3. Evaluate thetriple integralyy using three dfferent methods in Matlabl x'+y*+z2)dxdydz using three different methods in Matlab -100 a. b. c. Exactly, using symbolic integration with the int command. Numerically, using the command triplequad. Numerically, using the command quadv. Also, Integrate the given triple integral by hand.Explanation / Answer
f = @(x,y) -e^(y/x);
x1=pi; x2=2*pi;
y1=0; y2=pi;
integrand = dblquad(f, x1,x2,y1,y2)
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.