如上图所示。
xcosx要运用一个公式,就是[f(x)×g(x)]'=[f'(x)×g(x)]×[f(x)×g`(x)]这应该很清楚了吧
y'=cosx-xsinx-cosx=-xsinx
-xsinx................................