Question: Have to use Python. A cylindrical water storage tank has a semi-spherical top, as shown in the diagram below. h I For a tank with
A cylindrical water storage tank has a semi-spherical top, as shown in the diagram below. h I For a tank with cylinder height h and radius r, the volume is given by xrntar ! and the total surface area is given by 2nrh+3xr2. Write a program which asks the user to input h and r and then the program evaluates the volume and total surface area of the tank. The program should print out a summary including the radius and height of the tank, as well as the calculated volume and surface area. Also, include suitable comments in your program. Use your program to determine the volume and total surface area of the following circular cylinders:- (i) height = 3.4, radius = 1.2 and (ii) height = 1.53, radius = 2.21
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
