sin(x/2) = 2cos(x)-1