sin(x-π/4 + π/2 )=-cos(x+π/4)