y=sin2x+3sinxcosx+4cos2x
=sin2x+(3/2)sin2x+4cos2x
=(5/2)sin2x+4cos2x
最大值为√[(5/2)^2+4^2]=√89/2
最小值为-√89/2