Let $f:[a,b]\to\mathbb{R}$ be a convex function. Then
 $f(\frac{a+b}{2})\leq\frac{1}{b-a}\int_{a}^{b}f(t)dt\leq\frac{f(a)+f(b)}{2}.$