设抛物线的顶点式为:y=a(x-1)²+h.
将点(-2,0)和(0,12)代入得:9a+h=0,a+h=12.
解得:a=-3/2.h=27/2.
所以该二次函数是y=-3/2(x-1)²+27/2=-3/2x²+3x+12.