原函数求导,其导数在x=-2,x=1时等于零(极值点)
F'(x)=(2x+x^2)*e^(x-1)+3Ax^2+2Bx
F'(-2)=12A-4B=0
F'(1)=3A+2B+3=0
解得:A=-1/3,B=-1