-x sin(x)*e
d / -x\ --\sin(x)*e / dx
Apply the quotient rule, which is:
and .
To find :
The derivative of sine is cosine:
To find :
The derivative of is itself.
Now plug in to the quotient rule:
Now simplify:
The answer is:
-x -x cos(x)*e - e *sin(x)
-x 2*(cos(x) + sin(x))*e