a) \(\left(n+3\right)\left(n^2+1\right)=0\)
\(\Rightarrow n+3=0\Rightarrow n=-3\)(do \(n^2+1\ge1>0\))
b) \(\left(n-1\right)\left(n^2-4\right)=0\)
\(\Rightarrow\left[{}\begin{matrix}n=1\\n^2=4\end{matrix}\right.\)\(\Rightarrow\left[{}\begin{matrix}n=1\\n=-2\\n=2\end{matrix}\right.\)
\(a,\Leftrightarrow\left[{}\begin{matrix}n+3=0\\n^2+1=0\end{matrix}\right.\Leftrightarrow\left[{}\begin{matrix}n=-3\left(tm\right)\\n^2=-1\left(ktm\right)\end{matrix}\right.\Leftrightarrow n=-3\\ b,\Leftrightarrow\left[{}\begin{matrix}n-1=0\\n^2-4=0\end{matrix}\right.\Leftrightarrow\left[{}\begin{matrix}n=1\\n^2=4\end{matrix}\right.\Leftrightarrow\left[{}\begin{matrix}n=1\\n=2\\n=-2\end{matrix}\right.\)