Let $f: [a, b] \to \mathbb R$ continuous function. Show that for all $x \in (a, b)$ applies that
$$\lim_{\delta \to 0} {1 \over 2\delta} \int_{x-\delta}^{x+\delta} f(t) dt = f(x)$$
Does the same result apply to all integrable functions $f: [a, b] \to \mathbb R$?
I cant figure out what property of continuous function should I use for this and how, also I would appreciate a hint for the other part as well.