What are the formulas for the errors?
So I know the formulas for the errors but I don't know what I'm supposed to plug into the formulas... It's very hard to find some examples rather than raw definitions so I'm kind of stuck. Should I solve the initial integral as if it were a regular integral to move on or I'm to plug something into the formula right from the beginning?For an integral of form , calculate the Newton-Cotes quadrature and estimate the error for:
- (Trapezoid rule)
- (Simpson's rule)
- (3/8 rule)