Answered step by step
Verified Expert Solution
Question
1 Approved Answer
2. The figure shows a cylinder of radius r and height h. Write a function with 2 inputs, the radius and height of the cylinder,
2. The figure shows a cylinder of radius r and height h. Write a function with 2 inputs, the radius and height of the cylinder, and 2 outputs, the volume and surface area. The volume and surface area can be calculated as follows: Aend = nr2 P = 2tr Aside = Ph V = Aendh area of one end of the cylinder perimeter of end of cylinder area of side of cylinder volume of cylinder The total surface is the area of both ends plus the area of the side. A radius of 2 and a height of 5 should result in a volume of 62.8 and a surface area of 88.0. 2. The figure shows a cylinder of radius r and height h. Write a function with 2 inputs, the radius and height of the cylinder, and 2 outputs, the volume and surface area. The volume and surface area can be calculated as follows: Aend = nr2 P = 2tr Aside = Ph V = Aendh area of one end of the cylinder perimeter of end of cylinder area of side of cylinder volume of cylinder The total surface is the area of both ends plus the area of the side. A radius of 2 and a height of 5 should result in a volume of 62.8 and a surface area of 88.0
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