Let g be the real-valued function defined by g(x)=∣x2−4x∣ with the restriction x≤3.
(i) Write the domain of g in interval notation.
(ii) Determine the least and the greatest values of g(x) on the given domain.
(iii) Hence state the complete range of g. Show all working clearly, including the treatment of the modulus sign.