Use (a) the Trapezoidal Rule, (b) the Midpoint Rule, and (c) Simp:
\int_1^5 (7cos(6x))/(x)dx,n=4
(a) the Trapezoidal Rule (b) the Midpoint Rule (c) Simpson's Rule