解由(x-3)(x2+mx-n)
=x³+mx²-nx-3x²-3mx+3n
=x³+mx²-3x²-nx-3mx+3n
=x³+(m-3)x²-(n+3m)x+3n
由题知、m-3=0,n+3m=0
即m=3,n=-9