Contour integral for a sine-squared trigonometric quotient

ID: contour-integral-for-a-sine-squared-trigonometric-quotient

For , substitution gives poles at zero and the two roots of . The inside-pole residues sum to , so
The double pole at zero is essential; omitting it gives the wrong sign and value.

New to topics? Read the docs here!