compact interval
The Weierstrass theorem states that a continuous function defined on a closed and bounded interval attains both its minimum value and its maximum value at some points of that interval.
The Weierstrass theorem states that a continuous function defined on a closed and bounded interval attains both its minimum value and its maximum value at some points of that interval.