如:y=(sinx+cosx)^2+2cos^2x
=sin^2x+2sinxcosx+cos^2x+2cos^2x
=1+sin2x+2cos^2x
=1+sin2x+2*(1+cos2x)2
=1+sin2x+1+cos2x
=2+√2sin(2x+45°)
如:y=(sinx+cosx)^2+2cos^2x
=sin^2x+2sinxcosx+cos^2x+2cos^2x
=1+sin2x+2cos^2x
=1+sin2x+2*(1+cos2x)2
=1+sin2x+1+cos2x
=2+√2sin(2x+45°)