I am trying to show that $$\int_0^{\pi/2} \frac {\sin(u+a\tan u)} {\sin u}\,\mathrm d u=\frac {\pi} 2$$
Can this be done via contour integration? I'm not really sure which contour to pick. I have tried substitutions like $\pi/2 - u$ but they haven't helped. I have tried differentiating with respect to $a$ too. I got $I'(a)=\int_0^{\pi/2} \frac {\cos(u+a\tan u)} {\cos u}\,\mathrm d u$ And I know $I(a)=\int_0^{\pi/2} \frac {\cos(u-a\cot u)} {\cos u}\,\mathrm d u$
This came up on an undergraduate end of year exam so any solution shouldn't be too advanced.