Consider the Newton-cotes formula for ƒ¹⁄₂f(x)dx ≈ Aƒ( − 2) + Bƒ(1) based on the Lagrange interpolation polynomial at th
Posted: Thu May 05, 2022 6:35 pm
Consider the Newton-cotes formula for ƒ¹⁄₂f(x)dx ≈ Aƒ( − 2) + Bƒ(1) based on the Lagrange interpolation polynomial at the nodes -2 and 1. Find the constants A and B so that the above Newton-cotes formula is exact for all linear functions.