00:01
So for this problem we're looking at simpson's rule.
00:02
You'll want to first start by defining this function in matlab or excel, for example.
00:08
And then we're going to divide this interval into five equal segments.
00:13
So we're going from 0 to 0 .5.
00:17
So delta x is b minus a over n.
00:21
So that's 0 .5 minus 0 over 5 subintervals.
00:26
So it's going to be 0 .1 is our delta x.
00:29
So with simpson's rule, we're going to have delta x over 3 times.
00:37
And then we'll have f of a, which in this case is 0, plus 4 times f of 0 .1, plus 2 times f of 0 .2, plus 3 times f of 0 .3, or that's 4, plus 2 times f of 0 .4, and then plus f of 0 .5...