答:
f(x)=√3sinxcosx-(cosx)^2-1/2
=√3sin2x/2-(1+cos2x)/2-1/2
=sin2xcosπ/6-cos2xsinπ/6-1
=sin(2x-π/6)-1
因为:-1