# Volume of a cone using cylindrical coordinates and integration

Hi all! I was trying to figure out how to find the volume of a cone with radius R and height h using integration with cylindrical coordinates. I first tried to set the the integral as:

$$\int_{0}^{2\pi}\int_{0}^{h}\int_{0}^{R}\rho d\rho dz d\phi$$

...but I think that this is setting up the integral for a cylinder and not a cone. Any suggestions so I end up with the correct volume?

$$V_{cone} = \frac{1}{3}\pi r^2 h$$

Thank you!