User:Rjorjorjo/HW3

=Problem 17-3(1).(2) ~  18-1 (3)~(6)=

Statement
Reproduce Table 5.1, Table 5.3, Table 5.4, Table 5.5, Table 5.6 and Table 5.7 in text book(Atkinson)

Consider Trapezoidal and Simpson integration

Solution

 * {| style="width:100%" border="1" align="left"


 * Ref: Lecture Notes [[media:Egm6341.s10.mtg7.pdf|P7-1]] [[media:Egm6341.s10.mtg7.pdf|P7-2]]
 * }
 * }

i Table 5.1

ii Table 5.3

iii Table 5.4

iv Table 5.5

v Table 5.6

vi Table 5.7

MATLAB
i    Table 5.1
 * For In


 * For En


 * For Ratio


 * For E'n

ii    Table 5.3
 * For In


 * For En


 * For Ratio


 * For E'n

iii    Table 5.4
 * For Trapezoidal Rule Error


 * For Trapezoidal Rule Ratio


 * For Simpson's Rule Error


 * For Simpson's Rule Ratio

iv    Table 5.5
 * For Trapezoidal Rule Error


 * For Trapezoidal Rule Ratio


 * For Simpson's Rule Error


 * For Simpson's Rule Ratio

v    Table 5.6
 * For Trapezoidal Rule Error


 * For Trapezoidal Rule Ratio


 * For Simpson's Rule Error


 * For Simpson's Rule Ratio

vi    Table 5.7
 * For Trapezoidal Rule Error


 * For Trapezoidal Rule Ratio


 * For Simpson's Rule Error


 * For Simpson's Rule Ratio

EGM6341.s10.Team1.Ya-Chiao Chang 06:54, 17 February 2010 (UTC)