derivate of (cotg(x/2))