Question: A cylindrical part ( diameter D , height H ) has a square cutout ( side s , height h ) . The volume and

A cylindrical part (diameter D, height H) has a square cutout (side s, height h). The volume and surface area of this part can be calculated as follows.
V=D2H4-s2h
A=D(H+D2)+4sh
Write a program to calculate both of these values and display them to the screen, using D=1.5mm,H=12.5mm,s=8mm,h=4.25mm.
Store the volume in a variable named Vol and the surface area in a variable named SA.
 A cylindrical part (diameter D, height H) has a square cutout

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!