用分部积分法:
∫xsinxdx = -∫x(-sinx)dx = -∫xdcosx
= -(xcosx - ∫cosxdx)
= -(xcosx - sinx) + C
= sinx - xcosx + C