In view of this, we have
(13.3.5) |
(13.3.6) |
and
Thus,
To find the error estimates, we consider the forward difference table, which is given below:
0.0 | 1.00000 | 0.01005 | 0.02071 | 0.00189 | 0.00149 | ||
0.1 | 1.01005 | 0.03076 | 0.02260 | 0.00338 | 0.00171 | ||
0.2 | 1.04081 | 0.05336 | 0.02598 | 0.00519 | 0.00243 | ||
0.3 | 1.09417 | 0.07934 | 0.03117 | 0.00762 | 0.00320 | ||
0.4 | 1.17351 | 0.11051 | 0.3879 | 0.01090 | 0.00459 | ||
0.5 | 1.28402 | 0.14930 | 0.04969 | 0.01549 | 0.00658 | ||
0.6 | 1.43332 | 0.19899 | 0.06518 | 0.02207 | 0.00964 | ||
0.7 | 1.63231 | 0.26417 | 0.08725 | 0.03171 | |||
0.8 | 1.89648 | 0.35142 | 0.11896 | ||||
0.9 | 2.24790 | 0.47038 | |||||
1.0 | 2.71828 |
Thus, error due to Trapezoidal rule is,
0.05 | 0.1 | 0.15 | 0.2 | 0.3 | 0.4 | 0.5 | 0.6 | 0.7 | 0.8 | 0.9 | 1.0 | ||
0.0785 | 0.1564 | 0.2334 | 0.3090 | 0.4540 | 0.5878 | 0.7071 | 0.8090 | 0.8910 | 0.9511 | 0.9877 | 1.0000 |
Solution: Note that here the points are not given to be
equidistant, so as such we can not use any of the above two
formulae. However, we notice that the tabular points
and
are equidistant and so are the tabular points
and
. Now we can
divide the interval in two subinterval:
and
; thus,
. The integrals then can be evaluated in each interval. We observe that the second set has odd number of points. Thus, the first integral is evaluated by using Trapezoidal rule and the second one by Simpson's rule (of course, one could have used Trapezoidal rule in both the subintervals).
It may be mentioned here that in the above integral, and that the value of the integral is . It will be interesting for the reader to compute the two integrals using Trapezoidal rule and compare the values.
0.0 | 0.5 | 0.7 | 0.9 | 1.1 | 1.2 | 1.3 | 1.4 | 1.5 | ||
0.00 | 0.39 | 0.77 | 1.27 | 1.90 | 2.26 | 2.65 | 3.07 | 3.53 |