$$\int\frac{\sin^2{x}}{1+e^x}\,dx$$
First, I break the integral apart then get: $$\int\frac{1-\cos^2{x}}{1+e^x}\,dx$$ I know how to calculate $$\int\frac{1}{1+e^x}\,dx$$ but not $$\int\frac{\cos^2{x}}{1+e^x}\,dx$$
can anyone give me a hint to do it?
Thanks.
There is no elementary antiderivative. The best you can do is to write it in terms of hypergeometric functions. See Wolfram Alpha.