File Exchange

image thumbnail

Weddle's rule (composite)

version 1.1.1 (1.26 KB) by Manotosh Mandal
Matlab codes for composite weddle's rule of numerical integration

1 Download

Updated 27 Aug 2019

View License

Let the values of a function f(x) be tabulated at points x_i equally spaced by h=x_(i+1)-x_i, so f_1=f(x_1), f_2=f(x_2), .... Then Weddle's rule approximating the integral of f(x) is given by the Newton-Cotes-like formula


Enter lower limit a: 1
Enter upper limit b: 2
Enter the number of sub-intervals n: 36

The value of integration is 0.348307>>

Cite As

Manotosh Mandal (2020). Weddle's rule (composite) (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (3)

Brad Haddin

Very nice coding.....



Composite weddle's rule with example


composite weddle's rule

MATLAB Release Compatibility
Created with R2019a
Compatible with any release
Platform Compatibility
Windows macOS Linux