The correct option is B π22−4
π/2∫−π/2(x2+ln(π+xπ−x))cosx dx
=π/2∫−π/2x2cosx dx+π/2∫−π/2ln(π+xπ−x)cosx dx
We know that,
a∫−af(x)=⎧⎪
⎪
⎪⎨⎪
⎪
⎪⎩2a∫0f(x) dx, if f(x) is even0, if f(x) is odd
=2π/2∫0x2cosx dx+0
Applying successive by-part,
=2[x2sinx+2xcosx−2sinx]π/20
=2[π24−2]=π22−4