You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
Displays the function over the range of integration and the parabolas used to approximate the area under it.
The function accepts
f is a function in one variable
I is a 1x2 vector
m is the number of points used to create m parabolas.
and outputs the graphs of f over I and the m parabolas that will be used to approximate the area under f.
Cite As
Charles Nelatury (2026). Simpsons Rule Demonstration (https://ch.mathworks.com/matlabcentral/fileexchange/29535-simpsons-rule-demonstration), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired by: Shade area between two curves
Categories
Find more on Numerical Integration and Differential Equations in Help Center and MATLAB Answers
General Information
- Version 1.0.0.0 (1.44 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 |
