Question
Let $f(x)=\left\{\begin{array}{ll}x^2, & \text { when } 0 \leq x \leq 2 \\ 2 x, & \text { when } 2 \leq x \leq 5\end{array}\right.$
$
g(x)=\left\{\begin{array}{ll}
x^2, & \text { when } 0 \leq x \leq 3 \\
2 x, & \text { when } 3 \leq x \leq 5
\end{array}\right.
$
Show that $f$ is a function, while $g$ is not a function.
$
g(x)=\left\{\begin{array}{ll}
x^2, & \text { when } 0 \leq x \leq 3 \\
2 x, & \text { when } 3 \leq x \leq 5
\end{array}\right.
$
Show that $f$ is a function, while $g$ is not a function.