y=(1-cos2x)/2+sin2x-3(1+cos2x)/2
=sin2x-2cos2x-1
=√(1²+2²)sin(2x-a)+1
其中tana=2/1=2
=√6sin(2x-arctan2)+1