Find the volume of solid enclosed by surfaces $x^2+y^2=9$ and $x^2+z^2=9$
I understand that these are two cylinders in XY and XZ planes respectively, that will cut each other above the XY plane. I get the following limits for triple integrals
$$\int_{\theta=0}^{2\pi}\int_{r=0}^3\int_{z=0}^{\sqrt{ 9-r^2\cos^2\theta}}rdzdrd\theta$$
Is it correct ?? If yes, the integral itself looks so complicates. some hints on solving it please !!
I think it's better not to transform to cylindrical coordinates. Instead, first note that your region is $$\left\{(x,y,z)\in\mathbb R^3|-3\leq x\leq 3, -\sqrt{9-x^2}\leq y\leq\sqrt{9-x^2},-\sqrt{9-x^2}\leq z\leq\sqrt{9-x^2}\right\},$$ so your integral is equal to $$\int_{-3}^3\int_{-\sqrt{9-x^2}}^{\sqrt{9-x^2}}\int_{-\sqrt{9-x^2}}^{\sqrt{9-x^2}}dzdydx=8\int_0^3\int_0^{\sqrt{9-x^2}}\int_0^{\sqrt{9-x^2}}dzdydx=8\int_0^3(9-x^2)\,dx,$$ which is equal to $144$.