int x^2+1 form x=-1 to 2