Apply the product rule:
; to find :
Apply the product rule:
; to find :
Apply the power rule: goes to
; to find :
The derivative of sine is cosine:
The result is:
; to find :
The derivative of cosine is negative sine:
The result is:
Now simplify:
The answer is:
// 2 \ 2 \ x*\\6*sin(x) - x *sin(x) + 6*x*cos(x)/*cos(x) - x *cos(x)*sin(x) - 2*x*(3*sin(x) + x*cos(x))*sin(x)/