# Finding volume of a cone given density

Let $C$ be the solid cone with the boundary surfaces $x^2 +y^2 = z^2$ and $z = 0$. The density of the solid at point $(x,y,z)$ is $z$.

Find the volume of the solid using the integrals in both the cylindrical coordinates and the spherical coordinates.

I really cant do this question. I know that $V=\rho /m$ but what is $m$?

I also don't understand how you can even find the volume with integrals because there is no limit of $z$ given so it would just be infinity wouldn't it.

Can someone start me off, I obviously don't need anyone to show me how to integrate. Just struggling on what the density and stuff is relevant.

$$dV = \rho \pi r^2 dz$$ $$\rho = z, r = z$$ $$V = \pi \int z^3 dz = z^4 \pi/4$$ etc..