In estimating −ₓ∫cos(4x)dx using Trapezoidal and Simpson's rule with n=4, we can estimate the error involved in the approximation using the Error Bound formulas.
For Trapezoidal rule, the error will be less than
For Simpson's rule, the error will be less than