A function f: R → R is defined by f(x) = x2. Determine (i) range of f (ii) {x: f(x) = 4}