We use the chain rule to differentiate this function. The chain rule states that the derivative of a composite function is the derivative of the outer function times the derivative of the inner function.
So, we have $f'(x) = 2\cos(x)(-\sin(x)) =
Show more…