User:Egm6341.s11.team4.fields/HW6.6

=Problem 6.6: Kessler's Trapezoidal Rule Error Matlab Code=

Refer to lecture slide [[media:nm1.s11.mtg32.djvu|32-3]] for the problem statement.

Given
Kessler's Matlab code given in the following link:

Kessler's Trapezoidal Rule Error Matlab Code

Objective
a.) Use (P2i,P2i+1), i = 1, 2 and 3, to understand Kessler's Matlab code line by line.

b.) Reproduce Kessler's results.

a.) Line by Line explanation of Kessler's Code
Below is Kessler's Matlab code with the addition of our comments.

b.) Reproduction of Kessler's Results
The code above was used to generate the following two tables which perfectly matches the results in Kessler's paper linked in the references section: