Da - diameter X - X axis Y - Y axis Z - Z axis Area of the sphere given the radi
ID: 3818005 • Letter: D
Question
Da - diameter
X - X axis
Y - Y axis
Z - Z axis
Area of the sphere given the radius
22:23 Questio Note: need to create a MathLab for this problem Compute the area of a sphere of radius 10. Use loops as requlred to coverthe area. Compute da, x, y, and z foreach pass through the inner loop. Compute the area by initializing it to zero before starting the loops, and accumulate the value of da inside of the Inner loop. Save the values of x, y, z. for each pass and plot as blue dots. Compute the area of the sphere using algebra, and compare to the numerical value you computed Call your progra AreaOfsphere.mExplanation / Answer
MATLAB program to find te area of te sphere is as follows:
%Initialise the radius of the sphere
r=10;
%Find the area of the sphere
V=4*pi*r*r*r/3;
%Find the area of the sphere
A=4*pi*r*r;
% Display the area and volume of the sphere
plot(A,V),xlable(' Area(m^2)').ylabel('volume(m^3)')
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.