00:01
All right, in this problem, we are asked to use the error formulas to find n such that the error in the approximation of the definite integral it's less than 0 .0001 using the trapezoidal rule and simpson's rule.
00:13
So we'll begin with the trapezoidal rule.
00:15
What we can do is set up an equation where our upper bound on the error is equal to some desired value, where i'm going to write the maximum of the second derivative, just as m for maximum, equals d for the desired value.
00:33
What you can do now is just simply rearrange this.
00:36
With a little bit of rearranging, we find that n is going to equal b minus a cubed over 12d.
00:45
Or b minus a cubed m.
00:47
I should be careful here.
00:48
B minus a cubed m over 12d.
00:51
We can just plug in what we have and we'll be able to calculate that out.
00:56
While we're at it, i'll also write down with the formula for the simpson rule will be.
01:01
So, you know, we set up b minus a to the power of 5 over 180 n to the power of 4 times m equals some desired value.
01:11
And then we'd have that n is going to equal b minus a to the power of 5 times m divided by 180 times the desired value of d, all to the power of 1 over 4.
01:25
Now, for our trapezoidal rule, for this one, we need to figure out what m is going to be...