Question: Functions: Volume of a cylinder Write a function that takes in the radius and the length of a cylinder and returns the area and volume

 Functions: Volume of a cylinder Write a function that takes in

Functions: Volume of a cylinder Write a function that takes in the radius and the length of a cylinder and returns the area and volume using the following formulas: area radius * radius * volumearealength Round your answer to two decimal place and output both the area and volume as a tuple. For example, >>>print (area_vol_cylinder (1.0,2.0)) (3.14, 6.28) >>print (area-vol.cylinder (2.0,2.3)) (12.57, 28.9) >>print (area.vol-cylinder (1.5,4)) (7.07, 28.27) >>>print (area_vol_cylinder (2.2,5.0)) (15.21, 76.03)

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 Databases Questions!