Is there a way to write a function so that for any $c$ such that $a < c < b$, $f(c)$ is always the same?
For example, if you had an increasing function up until $0$ at which point the $f(x)$ is $0$ all the way until $10$ when the function starts decreasing again.
I am not looking for horizontal lines or piecewise functions.