3. Numerical integration (Numerical quadrature). Given the continuous function f(x) on [a,b], approximate Newton-Cotes Formulas: For the given abscissas,