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