I am trying to find, or better calculate the following integral:
$\int_{0}^{\pi} \sin (nx)\arctan_2(1-r\cos x,r \sin x) dx$
Could someone help me out. For $r<1$, the $\arctan_2$ is just the normal $\arctan\frac{r \sin(x)}{(1-r \cos(x)}$, the argument is in this case always in the first or fourth quadrant. This is a tabulated standard integral and evaluates to $\frac{\pi}{2 n}r^n$. For $r>1$, I have not found it and was not successful in calculating it. Does someone have an idea what the answer is and how it is calculated. Thanks!