cot(x/2) /cosx - 1/sin(2x) = 0