2倍角公式:
sin2x=2sinxcosx
cos2x=1-2sin²x
sin²x=(1-cos2x)/2
f(x)=sin²x+√3sinxcosx
=(1-cos2x)/2+(√3/2)sin2x
=(√3/2)sin2x-(1/2)cos2x+1/2
=sin(2x-π/6)+1/2
2倍角公式:
sin2x=2sinxcosx
cos2x=1-2sin²x
sin²x=(1-cos2x)/2
f(x)=sin²x+√3sinxcosx
=(1-cos2x)/2+(√3/2)sin2x
=(√3/2)sin2x-(1/2)cos2x+1/2
=sin(2x-π/6)+1/2