Answer
See the explanation below.
Work Step by Step
The extreme value theorem states that: A function $f(x)$ that is continuous on a closed interval $[m,n]$ would have a minimum and maximum value at $k$ or, $(m\lt k \lt n) $.
The maximum and minimum values of a function $f(x)$ attain some critical numbers between $m$ and $n$ or at the endpoints of the interval $[m,n]$.