Question: Write a Python function that gets the radius r , the R value, and the H value and returns the volume of material in the

Write a Python function that gets the radius r, the R value, and the H value and returns the volume of
material in the silo. You need to use an if statement to calculate the volume of material.
ifdR You need the volume of conical part only
ifd>R You need the full volume of conical part
+ the volume of cylinderical part
Call the function in the script for the following cases and print the results:
H=11.2m
H=4m
For both cases, r=5m and R=5m.
Write a Python function that gets the radius r ,

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!