f(x)=sin^2wx+√3sinwxsin(wx+π/2)(w>0)
=-(1/2)(1-2sin^2wx)+(√3/2)*2sinwxcoswx+1/2
=(√3/2)sin2wx-cos2wx+1/2
=sin(2wx-π/6)+1/2
(1)最小正周期为T=2π/2w=π,则w=1.
(2)f(x)=sin(2x-π/6)+1/2.0
f(x)=sin^2wx+√3sinwxsin(wx+π/2)(w>0)
=-(1/2)(1-2sin^2wx)+(√3/2)*2sinwxcoswx+1/2
=(√3/2)sin2wx-cos2wx+1/2
=sin(2wx-π/6)+1/2
(1)最小正周期为T=2π/2w=π,则w=1.
(2)f(x)=sin(2x-π/6)+1/2.0