Академический Документы
Профессиональный Документы
Культура Документы
70.1
Double integrals
The procedure
# y2 # x2 to determine a double integral of the
f (x, y)dx dy is:
form:
y1
x1
y2
y1
x2
dy
y1
x1
(2x 3y)dx dy
!
= 52 3(5)y 22 3(2)y
= (25 15y) (4 6y)
= 25 15y 4 + 6y
x1
3# 5
#
Problem 1. Evaluate
= 21 9y
# 3#
(ii)
1
(2x 3y)dx dy =
Understanding Engineering Mathematics. 978-0-415-66284-0, 2014 John Bird. Published by Taylor & Francis. All rights reserved.
(21 9y)dy
3
9y 2
= 21y
2 1
Section J
9(3)2
9(1)2
= 21(3)
21(1)
2
2
3# 2
#
(ii)
1
3
16y 2
16
y dy =
3
6 1
1
16(3)2
16(1)2
=
6
6
(2x 2 y)dx dy =
# 3#
Hence,
(2x 3y)dx dy = 6
2
4# 2
#
Problem 2. Evaluate
0
(3x 2)dx dy
2
2
3x 3
2x
3
1
!
= 23 2(2) 13 2(1)
= 841+2 = 5
# 4
2
2
(3x 2)dx dy =
(5)dy
1
= [5y]40
= [(5(4)) (5(0))]
6
6
= 20 0 = 20
# 4#
Hence,
0
#
1
1
3# 2
Problem 3. Evaluate
1
dy
Hence,
(3x2 2)dx dy = 20
#
= 24 2.67 = 21.33
2
(2x 2 y)dx dy
i.e.
(2x 2 y)dx =
2
2x 3 y
3
=
4#
(2x 2 y)dx
= (8 4) (1 2)
(ii)
dy
# 4#
3
1
(3x 2 2)dx =
= 24 2.67 = 21.33
2
Problem 4. Evaluate
i.e.
# 3
2(2)3 y
3
(0) =
16
y
3
Problem 5. Evaluate
1
(2 + sin 2 )d dr
= (2 0.5) (0 0.5) = 2
# 4
4#
(2 + sin 2 )d dr =
(2) dr
#
(ii)
1
1
2 cos 2 0 cos 0
2
2
= [2r ]41
# 4#
= 8 2 = 6 or 18.85
Hence,
1
= [(2(4)) (2(1))]
(2 + sin 2 )d dr = 18.85
2
2# 3
2.
#
2
2# 3
3.
#
4.
#
1
6# 5
(x 2 + 4y)dx dy
4# 2
1
3
(3x y 2)dx dy
(3 + sin 2 )d dr
1 0
# 3 # 4
dx
8.
1
9.
(x 5y)dx dy
6.
7.
(2x y)dy dx
2
5# 2
5.
(2x y)dx dy
(40 2x y)dy
Evaluate V
10.
Evaluate I
70.2
755
Triple integrals
The
# z2 procedure
# y2 # x2 to determine a triple integral of the form:
f (x,y,z)dx dy dz is:
z1
y1
x1
1 0
= 6 27 + 6z + 2 + 3 + 2z = 8z 16
Section J
Section J
=
4
6c2
is integrated with respect to c between
3
c = 1 and c = 3
3
3
# 3
6c
4
4
2
i.e.
dc =
c
6c
3
3
3 1
1
4
= (54 4) 2
3
= [(50) (0.67)] = 49.33
(iii)
8(2)2
8(1)2
16(2)
16(1)
2
2
3# 2
1 0
# 3# 2#
(x 3y + z)dx dy dz = 4
1
2a 3
(b 2 )a + (3c2 )a
3
0
2
=
(b 2 ) + (3c2 ) (0)
3
2# 2
3#
4.
2
(2)
+ (3c2 )(2) (0)
3
3
(8x yz)dx dy dz
1 1
2
b2 + 3c2
3
2
b2 + 3c2 is integrated with respect to b
3
between b = 0 and b = 2, with c regarded as a
constant, i.e.
2
# 2
2
2
b3
b2 + 3c2 db =
b
+ (3c2 )b
3
3
3
0
0
0
3# 1
2.
3.
(2)3
# 2#
(ii)
Hence,
Problem 7. Evaluate
# 3# 2# 1
(2a 2 b2 + 3c2)da db dc
1
4 8
4
+ 6c2 (0) = 6c2
3 3
3
1 0
6.
0
8.
(x y)dx dy dz
3# 2# 1
7.
1
(x y sin z)dx dy dz
4 # 1 # 2
#
#
(x 2 + 5y 2 2z)dx dy dz
5.
x + y 2 + z 3 dx dy dz
(x z + y)dx dy dz
For fully worked solutions to each of the problems in Practice Exercises 278 and 279 in this chapter,
go to the website:
www.routledge.com/cw/bird
Chapter 71
Numerical integration
Why it is important to understand: Numerical integration
There are two main reasons for why there is a need to do numerical integration analytical integration
may be impossible or infeasible, or it may be necessary to integrate tabulated data rather than known
functions. As has been mentioned before, there are many applications for integration. For example,
Maxwells equations can be written in integral form. Numerical solutions of Maxwells equations can be
directly used for a huge number of engineering applications. Integration is involved in practically every
physical theory in some way vibration, distortion under weight, or one of many types of uid ow
be it heat ow, air ow (over a wing), or water ow (over a ships hull, through a pipe or perhaps even
groundwater ow regarding a contaminant), and so on; all these things can be either directly solved by
integration (for simple systems), or some type of numerical integration (for complex systems). Numerical
integration is also essential for the evaluation of integrals of functions available only at discrete points;
such functions often arise in the numerical solution of differential equations or from experimental data
taken at discrete intervals. Engineers therefore often require numerical integration and this chapter
explains the procedures available.
71.1
Introduction
71.2
b
Let a required denite integral be denoted by a y dx and
be represented by the area under the graph of y = f (x)
between the limits x = a and x = b as shown in
Figure 71.1.
Understanding Engineering Mathematics. 978-0-415-66284-0, 2014 John Bird. Published by Taylor & Francis. All rights reserved.
Section J
(a)
1
y1 y2 y3 y4
xa
1
1
y dx (y1 + y2 )d + (y2 + y3)d
2
2
1
1
+ (y3 + y4 )d + (yn + yn+1 )d
2
2
1
d y1 + y2 + y3 + y4 + + yn
2
1
+ yn+1
2
b
a
1 rst + last
width of
y dx
interval
2 ordinate
sum of remaining
+
ordinates
2x 2 dx
3
1
2 +1
Figure 71.1
1 3
2x
2
=
= 4x
1
1
+1
2
1
!
3
= 4 x 1 = 4 3 1
yn1
x b
2
dx =
x
1.0
2.0000
1.5
1.6330
2.0
1.4142
2.5
1.2649
3.0
1.1547
(1)
This problem demonstrates that even with just 4 intervals a close approximation to the true value of 2.928
(correct to 3 decimal places) is obtained using the
trapezoidal rule.
1.00
2.0000
1.25
1.7889
1.50
1.6330
1.75
1.5119
2.00
1.4142
2.25
1.3333
2.50
1.2649
2.75
1.2060
3.00
1.1547
759
0
With 6 intervals, each will have a width of 2
6
i.e.
rad (or 15 ) and the ordinates occur at
12
5
0, , , , ,
and
12 6 4 3 12
2
1
Corresponding values of
are shown in the
1 + sin x
table below.
x
1
1 + sin x
1.0000
(or 15)
12
0.79440
(or 30 )
6
0.66667
(or 45 )
4
0.58579
(or 60 )
3
0.53590
5
(or 75 )
12
0.50867
(or 90 )
2
0.50000
1
2
1
dx
(1.00000 + 0.50000)
12
2
0 1 + sin x
+ 0.79440 + 0.66667
+ 0.58579 + 0.53590
+ 0.50867
= 1.006, correct to 4
signicant gures.
Section J
Numerical integration
Section J
2
dx
1 + x2
(use 8 intervals).
2 ln 3x dx
(use 8 intervals).
1.
#
2.
31
,
(a) With 4 intervals, each will have a width of
4
i.e. 0.5 and the ordinates will occur at 1.0, 1.5, 2.0,
2.5 and 3.0. Hence the mid-ordinates y1 , y2 , y3
and y4 occur at 1.25, 1.75, 2.25 and 2.75. Corre2
sponding values of are shown in the following
x
table.
3.
#
(sin ) d
(use 6 intervals).
0
1.4
4.
ex dx
2
(use 7 intervals).
71.3
1.25
1.7889
1.75
1.5119
2.25
1.3333
2.75
1.2060
y2
y3
yn
b x
d
Figure 71.2
b
a
1.125 1.8856
1.375 1.7056
1.625 1.5689
1.875 1.4606
2.125 1.3720
2.375 1.2978
(2)
2.625 1.2344
2.875 1.1795
3
1
2
dx (0.25)[1.8856 + 1.7056
x
2.4
Problem 5. Evaluate
x 2
3
dx, correct to 4
x 2
3
x 2
3
0.20
0.98676
0.60
0.88692
1.00
0.71653
1.40
0.52031
1.80
0.33960
2.20
0.19922
2.4
x 2
3
dx (0.40)[0.98676 + 0.88692
71.4
Simpsons rule
2
3
+ 0.71653 + 0.52031
2
= 2ad + cd 3 or
3
1
d(6a + 2cd 2 )
3
+ 0.33960 + 0.19922]
= 1.460, correct to 4 signicant gures.
Who
(3)
Section J
761
Numerical integration
Section J
y
y a bx cx 2
y f(x)
y1
y2
y3
y2
y1
d
Figure 71.3
at
at
x = d, y1 = a bd + cd 2
x = 0, y2 = a
Hence y1 + y3 = 2a + 2cd 2
y1 + 4y2 + y3 = 6a + 2cd 2
(4)
Figure 71.4
and at x = d, y3 = a + bd + cd 2
And
y2n1
b
d
y = a + bx + cx 2 ,
y4
Since
y3
1
d[(y1 + y2n+1 ) + 4(y2 + y4 + + y2n )
3
+ 2(y3 + y5 + + y2n1 )]
b
a
y dx
1 width of
rst + last
ordinate
3 interval
sum of even
+4
ordinates
sum of remaining
+2
odd ordinates
(5)
Then
y dx
a
1
1
d(y1 + 4y2 + y3 ) + d(y3 + 4y4 + y5 )
3
3
1
+ d(y2n1 + 4y2n + y2n+1 )
3
31
,
4
i.e. 0.5 and the ordinates will occur at 1.0, 1.5,
2.0, 2.5 and 3.0. The values of the ordinates are as
shown in the table of Problem 1(b), page 758.
3
1
2
1
dx (0.5) [(2.0000 + 1.1547)
3
x
+ 4(1.6330 + 1.2649) + 2(1.4142)]
1
= (0.5)[3.1547 + 11.5916
3
+ 2.8284]
0
With 6 intervals, each will have a width of 3
6
i.e.
rad (or 10 ), and the ordinates will occur at
18
2 5
0, , , ,
,
and
18 9 6 9 18 3
1 2
Corresponding values of
1 sin are shown in
3
the table below.
3
1
2
1
dx (0.25) [(2.0000 + 1.1547)
3
x
+ 4(1.7889 + 1.5119 + 1.3333
763
18
1
1 sin 2
3
1.0000 0.9950 0.9803 0.9574
2
9
5
18
(or 40 )
(or 50 )
(or 60 )
0.9286
0.8969
0.8660
1 2
1 sin
3
From Equation (5)
Problem 7. Evaluate
#
3
0
1
1 sin2 d
3
1 2
1 sin d
3
0
+ 2(0.9803 + 0.9286)]
1
=
[1.8660 + 11.3972 + 3.8178]
3 18
= 0.994, correct to 3 decimal places.
Problem 8. An alternating current i has the
following values at equal intervals of
2.0 milliseconds:
Time (ms)
Current i (A)
2.0
3.5
4.0
8.2
6.0
10.0
Section J
Numerical integration
Section J
7.3
10.0
2.0
12.0
6.
1
7.
2
#
Charge, q =
(use 6 intervals).
1
dx (use 8 intervals).
(2x 1)
4
dx
x3
3
(1 + x 4 ) dx
8.
0
12.0
1
i dt (2.0) [(0 + 0) + 4(3.5
3
0.1
= 62 mC
0.7
9.
1
(1 y 2)
dy
velocity v (ms1 )
1.0
0.4
2.0
1.0
3.0
1.7
4.0
2.9
5.0
4.1
1
d (use 8 intervals).
1 + 4
6.0
6.2
7.0
8.0
sin
d
8.0
9.4
1.
1.6
2.
0
1.0
3.
0.2
4.
x cos x dx
(use 8 intervals).
The distance travelled in 8.0 s is given by
# 8.0
v dt
(use 6 intervals).
5.
x2
In Problems 6 and 7 evaluate the denite integrals using (a) integration, (b) the trapezoidal rule,
(c) the mid-ordinate rule, (d) Simpsons rule. Give
answers correct to 3 decimal places.
11.
t (s)
v (m/s)
0.5
0.052
1.0
0.082
1.5
0.125
2.0
0.162
2.5
0.175
3.0
0.186
3.5
0.160
4.0
Use Simpsons rule with 8 intervals to determine the approximate total distance travelled
by the pin in the 4.0 s period
For fully worked solutions to each of the problems in Practice Exercises 280 to 282 in this chapter,
go to the website:
www.routledge.com/cw/bird
765
Section J
Numerical integration