\(\Leftrightarrow1-sin^2x-\sqrt{3}sinx.cosx=0\)
\(\Leftrightarrow cos^2x-\sqrt{3}sinx.cosx=0\)
\(\Leftrightarrow cosx\left(cosx-\sqrt{3}sinx\right)=0\)
\(\Leftrightarrow\left[{}\begin{matrix}cosx=0\\cotx=\sqrt{3}\end{matrix}\right.\)
\(\Leftrightarrow\left[{}\begin{matrix}x=\frac{\pi}{2}+k\pi\\x=\frac{\pi}{6}+k\pi\end{matrix}\right.\)