In Exercises $37-40$ , locate the absolute extrema of the function (if any exist) over each interval.
$$
\begin{array}{l}{f(x)=x^{2}-2 x} \\ {\text { (a) }[-1,2] \quad \text { (b) }(1,3]} \\ {\text { (c) }(0,2) \quad \text { (d) }[1,4)}\end{array}
$$