$$L = \iiint_{D} \frac{1}{(x^2+y^2+z^2)^\frac{3}{2}}dxdydz $$ where D is a part of a sphere $x^2+y^2+z^2 \leq 1 $ that lies in the first octant between the planes $z=\frac{1}{2}$ and $z=\frac{1}{\sqrt 2}$
We are asked to find the solution to this, in spherical coordinates and I have found a expression for $L $ but I'm not sure how to go about completing the solution.
My thoughts were to decompose the integral and use spherical coordinates and then express $L$ as the following.
$$L = \int_{0}^{\frac{\pi}{2}} \int_{0}^{\frac{\pi}{4}} \int_{\frac{1}{2 \cos \phi}}^{\frac{1}{\sqrt 2 \cos \phi}} \rho^{1/2} \sin \phi d \rho d\phi d \theta + \int_{0}^{\frac{\pi}{2}} \int_{0}^{\frac{\pi}{4}} \int_{\frac{1}{2 \cos \phi}}^{1} \rho^{1/2} \sin \phi d \rho d\phi d \theta$$
Using geometry and my question is, is this correct? - I based it off a sketch off $z$ against $r$ and then saw we have to decompose this accordingly ^ and then I don't know how to complete the integral i.e. find out what the value of $L$ is.
Could someone help me with this?