由题意可得:
x^3-3x^2+4=x^3-2x^2-x^2+4
=x^2(x-2)-(x+2)(x-2)
=(x-2)[x^2-(x+2)]
=(x-2)(x-2)(x+1)=0
所以x=2或者x=-1