Differentiate term by term:
Let .
The derivative of sine is cosine:
Then, apply the chain rule. Multiply by :
The derivative of cosine is negative sine:
The result of the chain rule is:
The derivative of a constant times a function is the constant times the derivative of the function.
Apply the power rule: goes to
So, the result is:
The result is:
The answer is:
2 3 240*x + sin (x)*cos(cos(x)) + cos(cos(x))*sin(x) - 3*cos(x)*sin(x)*sin(cos(x))