Suppose that $f$ is a continuous function on $[0,2]$ such that $f(0)=f(2)$.We have to show that there is a real number $c$ in the interval $[1,2]$, such that $f(c)=f(c-1)$.
I am completely lost on this question. I have tried fiddling with Rolles theorem and the Mean Value Theorem but it hasn't worked.