Complex Analysis: Integral of 1/(a+sin(x)) using Contour Integration

Complex Analysis: Integral of 1/(a+sin(x)) using Contour Integration

Today, we evaluate the integral from 0 to 2pi of 1/(a+sin(x)). This result provides a nice generalisation for integrals of this form, and could be extended to integrals involving cosine.