The primitive of the function x|cosx| when π2<x<π is given by
cosx+xsinx
−cosx−xsinx
xsinx−cosx
None of these
f(x)=x|cosx|,π2<x<π=−xcosx in π2,π
∴ The required primitive function =∫−xcosxdx
Now, use integration by Parts.