Let .
Apply the power rule: goes to
Then, apply the chain rule. Multiply by :
Let .
The derivative of cosine is negative sine:
Then, apply the chain rule. Multiply by :
The derivative of sine is cosine:
The result of the chain rule is:
The result of the chain rule is:
Now simplify:
The answer is:
/ 2 2 2 2 \ 2*\cos (x)*sin (sin(x)) - cos (x)*cos (sin(x)) + cos(sin(x))*sin(x)*sin(sin(x))/
/ 2 2 2 \ 2*\cos(sin(x))*sin(sin(x)) - 3*sin (sin(x))*sin(x) + 3*cos (sin(x))*sin(x) + 4*cos (x)*cos(sin(x))*sin(sin(x))/*cos(x)