Intermediate Value Theorem. If ƒ is a continuous function on a closed interval [a, b] and if u is any value between ƒ(a) and ƒ(b), then u = ƒ(c) for some c in [a, b].
I'm trying to understand this theorem from Wikipedia(https://en.wikipedia.org/wiki/Intermediate_value_theorem#Proof), it says that if $A:= \{x \in [a,b]:f(x)≤u\}$ and $s:=supA$ then $f(s)=u$.
I can't understand it. Please help me to prove this theorem.
