Prove/ Disprove:
Let $f:(0,1)\to(0,1)$ be such that $|f(x)-f(y)|\leq 0.5|x-y|$ for all $x ,y.$ Then f has a fixed point.
2.Let $f:\mathbb R\to\mathbb R$ be continuous and periodic with period $T>0.$Then there exists a point $x_0\in\mathbb R$ such that
$f(x_0)=f(x_0+T/2).$