Code covered by the BSD License
25 Nov 2010
Shows parabolas used in Simpson's rule
Watch this File
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.