IMC 1996 · Problem 2

Day 110 points3rd IMC · Plovdiv, Bulgaria

Statement

Evaluate the definite integral

ππsinnx(1+2x)sinxdx,\int_{-\pi}^{\pi} \frac{\sin nx}{(1 + 2^x)\sin x}\,dx,

where nn is a natural number.

Official solution

Hidden so you can work on the problem first.