TeX source:
g(x)=\frac{1}{10} \int_{x-5}^{x+5} f(t) d t