>>720
f(x)=sin^2x+2sinxcosx+3cos^2x
= sin(2x) + cos(2x)
= (√2) sin((2x)+(π/4))