f(x)= ax²+2x+1在[-3,2]上最大值为4,求a