y= 根号3sinxcosx-cos平方x
=√3/2*sin2x-(1+cos2x)/2
=√3/2*sin2x-1/2*cos2x-1/2
=cos30度*sin2x-sin30度*cos2x-1/2
=sin(2x-30度)-1/2
-1