sin(x*pi)/2 + sin(x*2*pi + pi/2)/2