f(x)=sin²x+2sin2x+3cos²x
=1+2sin2x+2cos²x
=1+2sin2x+cos2x+1
=2sin2x+cos2x+2
=√5sin(2x+fai)+2,
其中fai为满足tanfai=1/2和|fai|