The range function doesn't seem to output the correct range, for example `(x-1)^2 + 2` outputs all real numbers