Академический Документы
Профессиональный Документы
Культура Документы
Trapezoidal Rule
d b
Evaluate f ( x, y)dxdy where a, b, c, d are constants.
c a
D K L C
J M N H
I O P G
A E F B
hk
I= [sum of values in]+2(sum of values in +4[sum of remaining values]
4
Simpson’s Rule
sum of the values of f at four c orners
2(sum of the values of f at the odd positions on the
boundaryexc ept thec orners)
4(sum of the values of f at the even positions on the boundary)
hk {4(sum of the values of f at the odd positions)
I
9 8(sum of the values of f at the even positions)
on the odd row f of the matrix exc ept boundary row s}
{8(sum of the values of f at the odd positions)
16(sumof the values of f at the even positions)
on the even row f of the matrix }
I=0.0614
(ii) Simpson’s Rule:
0.01(55.2116)
I=
9
I=0.0613
------------------------------------------------------------------------------------------------------------