Let $K= \left\{ (x,y,z)\mid x^2+y^2+z\leq 4,z\geq 0 \right\} $. I need to calculate the integral $$\int _K 3(x^2 +y^2).$$
I want to use cylindrical coordinates and calculate $$2\pi\int_{z=0}^4\int_{r=0}^{4-z} 3r^2\cdot rdrdz.$$ But I end up with $6\pi4^4$, while the answer is supposed to be $32\pi$. What have I done wrong? I'm using iterated integration move along the $z$-axis...
Edit: sorry, I just noticed $4-z$ should really be $\sqrt {4-z}$. Everything falls to place after that.
