Let f = tan(x). On which of the following intervals can we use the Extreme Value Theorem to conclude that f must attain a maximum and minimum value on that interval?

[0,π]

(0,π)

The function f is discontinuous at and at , therefore we can't use the Extreme Value Theorem on any intervals that include either of those values.

- We can't use the Extreme Value Theorem because f is discontinuous on this interval.

[0,π] - We can't use the Extreme Value Theorem because f is discontinuous on this interval.

(0,π) - We can't use the Extreme Value Theorem because this interval is not closed.

- We can use the Extreme Value Theorem since the function f is continuous on this interval and the interval is closed.