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