View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
Simpsons Rule Demonstration

Join the 15-year community celebration.

Play games and win prizes!

» Learn more

Be the first to rate this file! 1 Download (last 30 days) File Size: 1.44 KB File ID: #29535 Version: 1.0
image thumbnail

Simpsons Rule Demonstration



Shows parabolas used in Simpson's rule

| Watch this File

File Information

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.


Shade Area Between Two Curves inspired this file.

Required Products Symbolic Math Toolbox
MATLAB release MATLAB 7.8 (R2009a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.

Contact us