Saitama
- 4,244
- 93
Homework Statement
If ##\displaystyle P=\int_0^{\pi} \frac{\cos x}{(x+4)^2}dx## and ##\displaystyle I=\int_0^{\pi/2} \frac{\sin (2x)}{2x+4}dx##, then the value of ##P+2I-\frac{1}{\pi+4}## is equal to
Homework Equations
The Attempt at a Solution
By substituting 2x=t i.e 2dx=dt, and replacing t with x, I can be rewritten as
I=\frac{1}{2}\int_0^{\pi} \frac{\sin x}{x+4}dx
P+2I=\int_0^{\pi} \frac{\cos x+x\sin x+4\sin x}{(x+4)^2}dx
How should I proceed from here?

Any help is appreciated. Thanks!