Вы находитесь на странице: 1из 2

Double Integral

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 }

Problems based on Double integrals


1.4
1
1. Evaluate dxdy using Trapezoidal and Simpson’s rule. Verify your result by actual
1 22.4
xy
integration.
Solution:
Divide the range of x and y into 4 equal parts
2.4 2
h 0.1
4
1.4 1
k 0.1
4
1
Get the values of f(x, y) = at nodal points
xy
y\x 2 2.1 2.2 2.3 2.4

1 0.5 0.4762 0.4545 0.4348 0.4167

1.1 0.4545 0.4329 0.4132 0.3953 0.3788

1.2 0.4167 0.3968 0.3788 0.3623 0.3472

1.3 0.3846 0.3663 0.3497 0.3344 0.3205

1.4 0.3571 0.3401 0.3247 0.3106 0.2976

(i) Trapezoidal Rule

0.4545 0.4167 0.3846 0.4762 0.4545


(0.1)(0.1) 0.5 0.4167 0.3571 0.2976 2 0.4348 0.3788 0.3472 0.3205 0.3106
I
4 0.3247 0.3401
4 0.4329 0.4132 0.3953 0.3968 0.3788 0.3623 0.3663 0.3497 0.3344

I=0.0614
(ii) Simpson’s Rule:

0.5 0.4167 0.3571 0.2976 2(0.4167 0.4545 0.3472 0.3247)


(0.1)(0.1) 4(0.3846 0.4545 0.4762 0.4348 0.3788 0.3205 0.3106
I
9 0.3401 0.3788) 8(0.3968 0.3623 0.3497 0.4132)
16(0.3663 0.3344 0.4329 0.3953)

0.01(55.2116)
I=
9
I=0.0613
------------------------------------------------------------------------------------------------------------

Вам также может понравиться