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 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
Get step-by-step solutions from verified subject matter experts
