What is the derivative of (x+cosx)/tanx?