Prove that if f is a continuous function on the interval [a,b] with f(a)<0<f(b) then f(c)=0 for some c∈(a,b).
Let g be a continuous function on [0,1] satisfying g(0)=g(1). By considering the function f(x)=g(x+21)−g(x) on [0,21], show that g(c+21)=g(c) for some c∈[0,21]. Show, more generally, that for any positive integer n there exists a point cn∈[0,nn−1] for which g(cn+n1)=g(cn).