How to solve the cubic equation $x^3-12x+16=0$ Please help me for solving this equation $x^3-12x+16=0$

Can you see by inspection that 2 is a root? If so, we can write your equation as $x^{3}-12x+16=(x-2)(ax^2+bx+c)=ax^{3}+(b-2a)x^{2}+(c-2b)x-2c$ by the factor theorem.
Thus, $a=1$, $b-2a=0$, $c-2b=-12 $ and $-2c=16$
Which gives $a=1$, $b=2$ and $c=-8$.
Therefore $x^{3}-12x+16=(x-2)(x^2+2x-8)=(x-2)(x-2)(x+4)=(x-2)^{2}(x+4)$
So there is a repeated root at $x=2$ and a second at $x=-4$.
