The volume of any prism is equal to the cross-sectional area multiplied by the height. Since a cylinder is effectively a circular-prism, with the cross-sectional area equal to the area of a circle (πr²), the formula for the volume can be derived:
Volume = cross-sectional area height
Volume = πr² height
V = πr²h
Now the figures just need to be substituted into the formula to calculate the volume:
V = π (2)² 3
= π 4 3
= 12π
= 37.6991118431
≈ 37.7 units³ (3sf)