Do we have any residue formula to value the integral:
$$\int_{0}^{2 \pi}\frac{\sin^2 x}{ 5 + 4 \cos x} dx$$
I mean without finding out the pole and applying the residues theorem each time.
Any fast and convenient approach will be appreciated.
I have found a very useful formula which is $$\int_{0}^{\infty}\frac{dx}{1 +x^n}= \frac{\pi}{n} cosc \frac{\pi}{n}$$
I can evaluate a lot of integral using the theorem.