# A cylinder has a height of 7 cm and a diameter of 5 cm. What is the volume of the cylinder?

Jun 28, 2018

$43.75 \pi$

#### Explanation:

The formula for the volume of a cylinder is

$V = h \pi {r}^{2}$

Where $r$ is the radius of the circle at the base, and $h$ is the height of the cylinder.

In your case, you already have $h$, but we need to find $r$.

However, we're not far from having it: we know the diameter, which is twice the radius. So, if the diameter is $5$, the radius is $2.5$.

If we plug these values in the formula for the volume, we have

$V = 7 \pi \cdot {\left(2.5\right)}^{2} = 7 \pi \cdot 6.25 = 43.75 \pi$