How do you differentiate #f(x)=csc(e^(x^2-5x)) # using the chain rule?
You differentiate the outer function, multiply by the derivative of the inner one and go on ...
The derivative of
(where we have applied the chain rule again)
Putting all this together, we get