\(sinx-\sqrt{3}cosx=1\)
\(\Leftrightarrow\dfrac{1}{2}sinx-\dfrac{\sqrt{3}}{2}cosx=\dfrac{1}{2}\)
\(\Leftrightarrow sin\left(x-\dfrac{\pi}{3}\right)=sin\left(\dfrac{\pi}{6}\right)\)
\(\Rightarrow\left[{}\begin{matrix}x-\dfrac{\pi}{3}=\dfrac{\pi}{6}+k2\pi\\x-\dfrac{\pi}{3}=\dfrac{5\pi}{6}+k2\pi\end{matrix}\right.\)
\(\Rightarrow\left[{}\begin{matrix}x=\dfrac{\pi}{2}+k2\pi\\x=\dfrac{7\pi}{6}+k2\pi\end{matrix}\right.\)