We can write the volume of the cylinder as the product of the area of the base and its height:
![V=A_b\cdot h](https://img.qammunity.org/2023/formulas/mathematics/college/i3pyo7rm053biu115mz5hgarl5xp9c1szg.png)
The area of the base is:
![A_b=\pi r^2](https://img.qammunity.org/2023/formulas/mathematics/high-school/65n1p0szpj0q8p3sjg2i7sz4l2u1998y71.png)
Then, we can write the first equation and clear the height as:
![\begin{gathered} V=A_b\cdot h=\pi r^2\cdot h \\ h=(V)/(\pi r^2) \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/qv053sxas5mqdk6aquvqgdoh6bfq5lqwd5.png)
Replcing with the values V=180 cm^3 and r=3 cm, we get:
![h=\frac{180\operatorname{cm}^3}{\pi\cdot(3\operatorname{cm})^2}=\frac{180\operatorname{cm}^3}{\pi\cdot9\operatorname{cm}}\approx\frac{180\operatorname{cm}^3}{28.3\operatorname{cm}^2}=6.4\operatorname{cm}]()
Answer: the height is 6.4 cm.