y=sin²x+2sinxcosx-3cos²x
=(1-cos2x)/2+sin2x-3(1+cos2x)/2
=sin2x-2cos2x-1
=√5sin(2x-∅)-1
∅是锐角,且tan∅=2
∴ T=2π/2=π