\(\left(x+2\right)^3-16\left(x+2\right)=0\)
\(\Rightarrow\left(x+2\right)\left[\left(x+2\right)^2-16\right]=0\)
\(\Rightarrow\left(x+2\right)\left(x+2-4\right)\left(x+2+4\right)=0\)
\(\Rightarrow\left(x+2\right)\left(x-2\right)\left(x+6\right)=0\)
\(\Rightarrow\left[{}\begin{matrix}x+2=0\\x-2=0\\x+6=0\end{matrix}\right.\)
\(\Rightarrow\left[{}\begin{matrix}x=-2\\x=2\\x=-6\end{matrix}\right.\)
Vậy \(S=\left\{-2;2;-6\right\}\)
\(2x^3-6x^2+12x-8=0\)
\(\Rightarrow2x^3-2x^23+3.2^2-2^3=0\)
\(\Rightarrow\left(x-2\right)^3=0\)
\(\Rightarrow x-2=0\)
\(\Rightarrow x=2\)