Extrapolation and Newton-Cotes integration formulas

Below is an illustration with Maple.