Simpsons Rule Demonstration

Shows parabolas used in Simpson's rule

您现在正在关注此提交

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.

引用格式

Charles Nelatury (2026). Simpsons Rule Demonstration (https://ww2.mathworks.cn/matlabcentral/fileexchange/29535-simpsons-rule-demonstration), MATLAB Central File Exchange. 检索时间: .

致谢

参考作品: Shade area between two curves

一般信息

MATLAB 版本兼容性

  • 兼容任何版本

平台兼容性

  • Windows
  • macOS
  • Linux
版本 已发布 发行说明 Action
1.0.0.0