How do you determine the derivative of #xcosx#?