Answered step by step
Verified Expert Solution
Question
1 Approved Answer
( 3 5 points ) You have a cylindrical silo ( radius r ) with a spherical cap roof ( radius R ) . The
points You have a cylindrical silo radius with a spherical cap roof radius The cylindrical portion has a height of meters. The volume of the silo can be obtained by adding the volume of the cylindrical part to the volume of the spherical cap :
where and
The suface area of the silo can be obtained by adding the surface areas of the cylindrical part and spherical cap
Write an interactive function file to calculate the total volume and total surface area of a cylindrical silo for different values of and Your function should not accept any input arguments, but should ask the user interactively to enter values of and of the silo. It should return two output arguments; ie the total volume and surface area of the silo. You can test your program to with and Make sure that your results are displayed in short format either in scientific or fixedpoint notation, whichever is more compact and convenient.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started