y=sin(x-π/4)-1/2