có: x(x+3)(x^2+3x+4)=-4
\(\Leftrightarrow\)(x^2+3x)(x^2+3x+4)+4=0
\(\Leftrightarrow\)(x^2+3x)\(^2\)+4(x^2+3x)+4=0
\(\Leftrightarrow\)(x^2+3x+2)\(^2\)=0
\(\Leftrightarrow\)x\(^2\)+3x+2=0
\(\Leftrightarrow\)(x+1)(x+2)=0
\(\Leftrightarrow\)x+1=0 hoặc x+2=0
*) Nếu x+2=0\(\Leftrightarrow\)x=-2
*) Nếu x+1=0\(\Leftrightarrow\)x=-1
Vậy S={ 2;-1}