How do you differentiate #f(x)=ln(cotx)# using the chain rule?