$\displaystyle \int_{0}^{1}13\cos(x)^{2} dx$

n = 4

values of intervals

are $\displaystyle y_{0} = 13$

$\displaystyle y_{1} = 12.9997525 $

$\displaystyle y_{2} = 12.99901002 $

$\displaystyle y_{3} = 12.99777261 $

$\displaystyle y_{4} = 12.996040 $

change in $\displaystyle x = \dfrac{b - a}{n} = \dfrac{1 - 0}{4} = 1/4$

Midpoint Rule