Expand description
The composite midpoint rule.
See the book entry Newton-Cotes rules.
Structs§
- Midpoint
Integration Engine - The composite midpoint rule:
∫ₐᵇ f ≈ h Σ f(a + (i + ½) h)overnpanels of widthh = (b − a)/n, samplingfat the centre of each panel.