Weddle's Rule is a highly accurate numerical integration method derived from Newton-Cotes formulas by using a 6th-order polynomial approximation across 7 equally spaced points over every block.
A key requirement of Weddle's Rule is that the total number of subintervals n must be a multiple of 6 (e.g. n=6,12,18).
Formula for Weddle's Rule:
I≈103h[y0+5y1+y2+6y3+y4+5y5+2y6+…] Where:
- a is the lower limit of integration.
- b is the upper limit of integration.
- n is the number of subintervals (must be a multiple of 6).
- h=nb−a is the step size.
Example of Weddle's Rule
Evaluate Definite Integral
∫061+x21,dx With n=6 subintervals
Step 1: Find Step Size (h)
h=66−0=1.0 Step 2: Determine Grid Points (xi)
x0=0,x1=1,x2=2,x3=3 x4=4,x5=5,x6=6 Step 3: Evaluate Function Values (yi=1+xi21)
y0=1.0000,y1=0.5000,y2=0.2000 y3=0.1000,y4=0.0588,y5=0.0385,y6=0.0270 Step 4 & 5: Apply Weddle's Formula
I≈103(1.0)[1.0+5(0.5)+0.2+6(0.1)+0.0588+5(0.0385)+0.0270] I≈0.3×4.5773≈1.3732 Conclusion
∫061+x21,dx≈1.3732 Therefore, using Weddle's Rule with n=6, the approximate value of the integral is 1.3732 (exact value arctan(6)≈1.4056).
Interactive Weddle's Rule Calculator