I came across the following integral which seems pretty interesting when I evaluated it with Woflram Alpha:
$$ I = \int_0^{2 \pi} \frac{a e^{i\theta} + b}{c e^{i\theta} + d} e^{i n \theta} d\theta $$
I found the following:
\begin{equation} I = \begin{cases} \displaystyle \frac{2\pi b}{d} &\quad n = 0, \\ 0 & \quad n \neq 0. \end{cases} \end{equation}
Does anyone know of a method to arrive at this result?