Compute the Height of a Cylinder based on. Write a program. As stated earlier the cylinder is made up of two circles that are similar and parallel so the distance between them is the height.
So as a formula the volume of a horizontal cylindrical segment is.
The filled volume of a vertical cylinder tank is just a shorter cylinder with the same radius r and diameter d but height is now the fill height or f. As stated earlier the cylinder is made up of two circles that are similar and parallel so the distance between them is the height. Because a cylinder is a flat-top figure a solid with two congruent parallel bases the base can be either the top or bottom. The formula for the volume of a cylinder is height x p x diameter 22 where diameter 2 is the radius of the base d 2 x r so another way to write it is height x p x radius2.