We use the chain rule for differentiation, which states that the derivative of a composite function is the derivative of the outer function times the derivative of the inner function. Here, the outer function is $u^{2}$ and the inner function is $\cos x$. So, we
Show more…