$$\int_{0}^{\pi}\frac{x^2}{(1+x \sin x)^2}\,\mathrm dx$$ I got $$2I=\int_{0}^{\pi}\frac{x^2}{(1+x \sin x)^2}\,\mathrm dx + \int_{0}^{\pi}\frac{x^2}{(1 - x\cos x + \sin x)^2}\,\mathrm dx $$ After this step I got stuck...
According to me I tried $\cos x=t$ put I failed.
Is this the way to solve or have some different method? Any help will be appreciated. Thanks and if you need more details I will help