The function is .
Rewrite the function.
Apply derivative on each side with respect to .
Derivative of cosecant function : .
.