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