y=2sin(x-pi/4)+1