若∫xf(x)dx=xsinx-∫sinxdx,则f(x)=______。
    A.sinx
    B.cosx
    C.
    D.
【正确答案】 B
【答案解析】 (xsinx-∫sinxdx)'=xf(x),所以xcosx=xf(x),f(x)=cosx,故应选B。