To calculate the volume
where:
is the radius of the cylinder, is the height of the cylinder.
Given:
- The height
, - The width (diameter) is 3, so the radius
.
Now, substituting the values into the formula:
Calculating
Now substituting back into the volume formula:
Thus, the volume of the cylinder is: