详细过程如图rt……希望能帮到你
∫<0, π>|cosx|dx = ∫<0, π/2>cosxdx + ∫<π/2, π>(-cosx)dx= [sinx]<0, π/2> + [-sinx]<π/2, π> = 1 + 1 = 2