Simpsons Rule Demonstration

版本 1.0.0.0 (1.4 KB) 作者: Charles Nelatury
Shows parabolas used in Simpson's rule
1.2K 次下载
更新时间 2010/11/25

查看许可证

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 (2024). Simpsons Rule Demonstration (https://www.mathworks.com/matlabcentral/fileexchange/29535-simpsons-rule-demonstration), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2009a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Numerical Integration and Differential Equations 的更多信息
致谢

参考作品: Shade area between two curves

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.0