y=sinxcosx+√3cosx^2-√3
=1/2sin2x+√3/2 cos2x-√3/2
=sin(2x+π/3)-√3/2
2x+π/3=kπ(是对称中心,不是对称轴)
x=kπ/2-π/6
选B