|\sin(x/2)|=\frac{\sqrt{1-\cos^2x}}{2\sqrt{\frac{1+\cos x}2}}=\sqrt{\frac{1-\cos x}2}