f(x)=sin^2wx+根3sinwxsin(wx+π/2)+2cos^2wx
=(1-cos2wx)/2+(√3/2)sin2wx+1+cos2wx
=1/2+(√3/2)sin2wx+(1/2)cos2wx
=1/2+sin(2wx+π/6)