`\text{ĐK:} \ x>=0`
`x-3\sqrt{x}+2=0`
`<=>x-\sqrt{x}-2\sqrt{x}+2=0`
`<=>\sqrt{x}(\sqrt{x}-1)-2(\sqrt{x}-1)=0`
`<=>(\sqrt{x}-1)(\sqrt{x}-2)=0`
`<=>`\(\left[ \begin{array}{l}\sqrt{x}-1=0\\\sqrt{x}-2=0\end{array} \right.\)
`<=>`\(\left[ \begin{array}{l}\sqrt{x}=1\\\sqrt{x}=2\end{array} \right.\)
`<=>`\(\left[ \begin{array}{l}x=1 \ (\text{TMĐK})\\x=4 \ (\text{TMĐK})\end{array} \right.\)
Vậy phương trình có tập nghiệm `S={1;4}`