Pre-Engineering 220 Introduction to MatLab ® & Scientific Programming j kiefer



Download 8.69 Mb.
Page95/128
Date02.05.2018
Size8.69 Mb.
#47255
1   ...   91   92   93   94   95   96   97   98   ...   128

This is Simpson’s Rule, which integrates over segments of three data points (or two intervals of h) in one step.


c. Implementation







Add ‘em up. . .



Caveats: i) the data points must be uniformly spaced.



ii) n + 1 must be odd, starting with 1 so that is even.


Download 8.69 Mb.

Share with your friends:
1   ...   91   92   93   94   95   96   97   98   ...   128




The database is protected by copyright ©ininet.org 2024
send message

    Main page