Simpson's 3/8 rule is another method for numerical integration proposed by Thomas Simpson. It is based upon a cubic interpolation rather than a quadratic interpolation. Simpson's 3/8 rule is as follows:
Enter lower limit a: 1
Enter upper limit b: 2
Enter the number of sub-intervals n: 21
The value of integration is 0.381665>>
Manotosh Mandal (2021). Simpson's 3/8 rule (Composite) (https://www.mathworks.com/matlabcentral/fileexchange/72562-simpson-s-3-8-rule-composite), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!