00:01
In this problem, we have the definite integral from 0 to pi of e to the negative t times sine of t.
00:10
This integral is equal to 1 half times e to the negative pi plus 1.
00:16
And this expression, this result, is equivalent numerically to the value 0 .52160695913.
00:28
This is the approximation we are going to use as the exact value.
00:32
To calculate the errors.
00:35
So we are going to construct a table of trapezoidal approximations to this integral and the corresponding absolute errors using 4 -8 -1632 sub -intervals.
00:47
So we're going to construct a table like this one.
00:51
Let me show here, where we have on the first column the number of sub -intervals.
00:59
We have an additional number of sub -intervals and equal two because we are going to going to calculate the simpson rule using the formula that relates it to the trapezoid rule.
01:12
So on the first, on the second column, we have the trapezole approximation.
01:17
On the third column, we have the simpson rule approximation is n.
01:22
And the last two columns are the errors of the trapecary rule and simpson rule.
01:30
So for the trapecoy rule, we are going to use a mad lab implementation.
01:36
Of this method.
01:39
So we are going to write down here that we are going to use a computer implementation to calculate the values of this column here...