Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

( 3 5 points ) You have a cylindrical silo ( radius r ) with a spherical cap roof ( radius R ) . The

(35 points) You have a cylindrical silo (radius r) with a spherical cap roof (radius R). The cylindrical portion has a height of H meters. The volume of the silo (Vtot) can be obtained by adding the volume of the cylindrical part (Vcyl) to the volume of the spherical cap ({:Vcap).
Vcyl=r2H,Vcap=13h2(3R-h)
where h=R(1-cos) and sin=rR.
The suface area of the silo (Stot) can be obtained by adding the surface areas of the cylindrical part (Scyl) and spherical cap (Scap).
Srvl=2rH,Sran=2Rh
Write an interactive function M-file to calculate the total volume and total surface area of a cylindrical silo for different values of r,R, and H. Your function should not accept any input arguments, but should ask the user interactively to enter values of r,R, and H of the silo. It should return two output arguments; i.e., the total volume (Vtot) and surface area (Stot) of the silo. You can test your program to with r=25m,R=35m, and H=70m. Make sure that your results are displayed in short format either in scientific or fixed-point notation, whichever is more compact and convenient.
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions