The expression is .
Consider .
Apply derivative on each side with respect to .
Divide each side by .
.
Trigonometric identity : .
Substitute in the derivative function.
Substitute in the equation.