we know that
the formula to calculate the volume of a cylinder is equal to
[tex]V=B\cdot h[/tex]where B is the area of the circular base and h is the height
so
[tex]B=\pi\cdot r^2[/tex]substitute
[tex]V=\pi\cdot r^2\cdot h[/tex]where r is the radius of the circular base