image thumbnail

Simpson's 1/3 rule (Composite)

version 1.1.4 (1.34 KB) by Manotosh Mandal
Matlab codes for Composite Simpson's one third rule of numerical integration

1.8K Downloads

Updated 22 Oct 2019

View License

In numerical analysis, Simpson's rule is a method for numerical integration, the numerical approximation of definite integrals.
Simpson's rule also corresponds to the three-point Newton-Cotes quadrature rule. See for deatils (https://en.wikipedia.org/wiki/Simpson%27s_rule).

Example:
Enter lower limit a: 1
Enter upper limit b: 2
Enter the step length 16

The value of integration is 0.408009>>

Cite As

Manotosh Mandal (2021). Simpson's 1/3 rule (Composite) (https://www.mathworks.com/matlabcentral/fileexchange/72526-simpson-s-1-3-rule-composite), MATLAB Central File Exchange. Retrieved .

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

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!