Bounded Darboux Function without Absolute Maximum on Closed Interval

52 Views Asked by At

Is there an example of a Darboux function which is bounded on the closed interval $[0,1]$ but achieves no absolute maximum on $[0,1]$? While I am trying to find any such function, I would prefer one that is as simple as possible.

1

There are 1 best solutions below

0
On BEST ANSWER

$f(0)=0$, $f(x)=e^{-x}\cos\frac1x$ for $0\lt x\le1$.