函数f(x)=-x^2+2ax-1,x属于[-2,2]