How do you differentiate #f(x)=xsinx-e^x*cosx# using the product rule?