(x^2+ax+b)(x+3)
=x^3+3x^2+ax^2+3ax+bx+3b
=x^3+(3+a)x^2+(3a+b)x+3b
∵积中含 x^2项的系数是4,且积中不含x项
∴{3+a=4
3a+b=0
解得a=1,b=-3