- #1
yon
- 1
- 0
Homework Statement
Suppose we are given [tex]f_0, f_1, f'_0 f'_1[/tex] of an unknown function. We want to integrate the region between [tex]x_0 and x_1[/tex] using a Newton-Cotes formula.
Homework Equations
Wat is the 'standard' way to solve such a problem?
The Attempt at a Solution
I started with the standard Lagrange interpolation formula for 4 points x0, x1, x2 and x3, and I thought that if we let x2 -> x0 and x3 -> x1, then we remove the unknown x2 and x3, and we introduce the known f'_0 and f'_1. It would then be only a matter of integration to find the N.C. formula. However, I am not sure if this is the way to go to solve this problem?