plot x^2-x+1 from 0 to2