用分步积分法
∫[0,π/2]xsinxdx
=-∫[0,π/2]xdcosx
=-xcosx[0,π/2]+∫[0,π/2]cosxdx
=∫[0,π/2]cosxdx
=sinx[0,π/2]
=1