How do you differentiate #f(x)=cot(e^sqrt(x^2-1)) # using the chain rule?