I'm self studying, and I was wondering if there were anything else that could be said about the following:
Suppose that $f$ is continuous on $[a,b]$ and that $f(x)$ is always rational. What can be said about $f$?
I said that $f$ could be a constant function, where $f$ equals a rational number $c$. From this, I said that it is then bounded above and below, and achieves a maximum and minimum value.
I was wondering if $f(x)$ could be a function that is not constant and is still continuous?