\(sin\dfrac{x}{2}=cos\left(\dfrac{\pi}{2}-x\right)\)
\(\Leftrightarrow sin\dfrac{x}{2}=sinx\)
\(\Leftrightarrow\left[{}\begin{matrix}\dfrac{x}{2}=x+k2\pi\\\dfrac{x}{2}=\pi-x+k2\pi\end{matrix}\right.\)
\(\Leftrightarrow\left[{}\begin{matrix}x=-k4\pi\\x=\dfrac{2\pi}{3}+\dfrac{k4\pi}{3}\end{matrix}\right.\)