Simpsons Rule Demonstration

Shows parabolas used in Simpson's rule
1,2K Downloads
Aktualisiert 25. Nov 2010

Lizenz anzeigen

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.

Zitieren als

Charles Nelatury (2024). Simpsons Rule Demonstration (https://www.mathworks.com/matlabcentral/fileexchange/29535-simpsons-rule-demonstration), MATLAB Central File Exchange. Abgerufen .

Kompatibilität der MATLAB-Version
Erstellt mit R2009a
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu Numerical Integration and Differential Equations finden Sie in Help Center und MATLAB Answers
Quellenangaben

Inspiriert von: Shade area between two curves

Community Treasure Hunt

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

Start Hunting!
Version Veröffentlicht Versionshinweise
1.0.0.0