TeX source:
\mathrm{m}=\frac{\mathrm{f}(\mathrm{b})-\mathrm{f}(\mathrm{a})}{\mathrm{b}-\mathrm{a}}=\frac{36-4}{3-1}=16