This is the integration I am trying to solve $$\int_{0}^{\pi} \sin^{2}(\theta)\sec^{3}(\theta)d\theta$$
putting $$z=e^{i\theta}$$ $$\int_{\gamma} \frac{-2{(z^{2}-1)}^2}{i(z-i)^{3}(z+i)^{3}}d\theta$$
when applying the residue theorem over a circle of radius 1, singularities are on the circle instead of inside the circle.How can we evaluate a integration like this
Thanks
