Simpson method demo for calculus
A comparison demo of three techniques for integral calculation : rectangles technique, trapezia technique, and Simpson technique. Their results are also compared to the reference exact value.
The whole thing is summed up and display in a figure.
Unique input parameter n is a numeric, positive integer corresponding to the number of interval for the approximation (rectangles, etc...)
Cite As
Nicolas Douillet (2024). Simpson method demo for calculus (https://www.mathworks.com/matlabcentral/fileexchange/73735-simpson-method-demo-for-calculus), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0 |