ĐKXĐ: \(x\ge0\)
Ta có: \(x-2\sqrt{x}=0\)
\(\Leftrightarrow\sqrt{x}\left(\sqrt{x}-2\right)=0\)
\(\Leftrightarrow\left[{}\begin{matrix}\sqrt{x}=0\\\sqrt{x}-2=0\end{matrix}\right.\Leftrightarrow\left[{}\begin{matrix}x=0\\\sqrt{x}=2\end{matrix}\right.\Leftrightarrow\left[{}\begin{matrix}x=0\left(nhận\right)\\x=4\left(nhận\right)\end{matrix}\right.\)
Vậy: S={0;4}