TeX source:
Average value = \frac{1}{\mathrm{~b}-\mathrm{a}} \int_{\mathrm{a}}^{\mathrm{b}} \mathrm{f}(x) \mathrm{dx}=\frac{1}{9-0} \int_{0}^{9} 5+\sqrt{t} \mathrm{dt}