In Exercises $41-46,$ use a graphing utility to graph the function. Locate the absolute extrema of the function on the given interval.
$$
f(x)=\left\{\begin{array}{ll}{2 x+2,} & {0 \leq x \leq 1} \\ {4 x^{2},} & {1<x \leq 3}\end{array},[0,3]\right.
$$