Investigate whether there exists a function $f : [a,b]\rightarrow R$ that is continuous and that takes exactly twice each of its values.
A function takes every function value twice - proof it is not continuous