For this case we have by definition that the volume of a cylinder is given by:
![V = \pi * r ^ 2 * h](https://img.qammunity.org/2020/formulas/mathematics/middle-school/9bbr1apmwdfg5ekvyuzuhy0h4dyqymtih6.png)
Where we have to:
A: It is the radius of the cylinder
h: It is the height of the cylinder
To find the volume of a cylinder we must have the radius and the height. In an equivalent way we can have the diameter, the radius is obtained by dividing the diameter by 2.
Answer:
![V = \pi * r ^ 2 * h](https://img.qammunity.org/2020/formulas/mathematics/middle-school/9bbr1apmwdfg5ekvyuzuhy0h4dyqymtih6.png)