Documente Academic
Documente Profesional
Documente Cultură
1. Find the positive root of the equation x 2 + 3x – 5 = 0, correct to 3 significant figures, using the
method of bisection.
f(0) = –5
f(1) = 1 + 3 – 5 = –1
f(2) = 4 + 6 – 5 = +5
Since there is a change of sign from negative to positive there must be a root of the equation between
x = 1 and x = 2
1+ 2
The method of bisection suggests that the root is at = 1.5, i.e. the interval between 1 and 2 has been
2
bisected
Since f(1) is negative, f(1.5) is positive, and f(2) is also positive, a root of the equation must lie between
x = 1 and x = 1.5, since a sign change has occurred between f(1) and f(1.5)
1 + 1.5
Bisecting this interval gives i.e. 1.25 as the next root
2
Since f(1) is negative and f(1.25) is positive, a root lies between x = 1 and x = 1.25
1 + 1.25
Bisecting this interval gives i.e. 1.125
2
Since f(1.125) is negative and f(1.25) is positive, a root lies between x = 1.125 and x = 1.25
1.125 + 1.25
Bisecting this interval gives i.e. 1.1875
2
1.1875 + 1.25
Bisecting this interval gives i.e. 1.21875
2
Since f(1.21875) is positive and f(1.1875) is negative, a root lies between x = 1.1875 and x = 1.21875
1.1875 + 1.21875
Bisecting this interval gives = 1.203125
2
Since f(1.203125) is positive and f(1.1875) is negative, a root lies between x = 1.1875 and x = 1.203125
1.1875 + 1.203125
Bisecting this interval gives = 1.1953125
2
Since f(1.1953125) is positive and f(1.1875) is negative, a root lies between x = 1.1953125 and
x = 1.1875
1.1953125 + 1.1875
Bisecting this interval gives = 1.191406
2
Since f(1.191406) is negative and f(1.1953125) is positive, a root lies between x = 1.191406 and
x = 1.1953125
1.191406 + 1.1953125
Bisecting this interval gives = 1.193359
2
The last two values obtained for the root are 1.1914… and 1.1934….
The last two values are both 1.19, correct to 3 significant figures. We therefore stop the iterations here.
Let f(x) = e x − x − 2
then f(0) = 1 – 0 – 2 = –1
f(2) = e 2 − 2 − 2 =3.38
1 + 1.5
Bisecting this interval gives = 1.25
2
1 + 1.25
Bisecting this interval gives = 1.125
2
Hence, a root lies between x = 1.125 and x = 1.25 due to a sign change
1.125 + 1.25
Bisecting this interval gives = 1.1875
2
f(1.1875) = 0.091374
Hence, a root lies between x = 1.1875 and x = 1.125 due to a sign change
1.1875 + 1.125
Bisecting this interval gives = 1.15625
2
f(1.15625) = 0.021743
Hence, a root lies between x = 1.15625 and x = 1.125 due to a sign change
1.15625 + 1.125
Bisecting this interval gives = 1.140625
2
f(1.140625) = –0.011902
Hence, a root lies between x = 1.140625 and x = 1.15625 due to a sign change
1.140625 + 1.15625
Bisecting this interval gives = 1.1484375
2
f(1.1484375) = 0.004824586
387 © 2014, John Bird
Hence, a root lies between x = 1.1484375 and x = 1.140625 due to a sign change
1.1484375 + 1.140625
Bisecting this interval gives = 1.14453125
2
f(1.14453125) = –0.0035626
Hence, a root lies between x = 1.14453125 and x = 1.1484375 due to a sign change
1.14453125 + 1.1484375
Bisecting this interval gives = 1.14648
2
f(1.14648) = 0.0006294
Hence, a root lies between x = 1.14648 and x = 1.14453125 due to a sign change
1.14648 + 1.14453125
Bisecting this interval gives = 1.14551
2
The last two values are both 1.146, correct to 4 significant figures. We therefore stop the iterations here
3. Determine the positive root of x 2 = 4 cos x, correct to 2 decimal places using the method of
bisection.
then f(0) = 0 – 4 = –4
1 + 1.5
Bisecting this interval gives = 1.25
2
1 + 1.25
Bisecting this interval gives = 1.125
2
Hence, a root lies between x = 1.125 and x = 1.25 due to a sign change
1.125 + 1.25
Bisecting this interval gives = 1.1875
2
f(1.1875) = –0.0858
Hence, a root lies between x = 1.1875 and x = 1.25 due to a sign change
1.1875 + 1.25
Bisecting this interval gives = 1.21625
2
f(1.21625) = 0.0906
Hence, a root lies between x = 1.1875 and x = 1.21625 due to a sign change
1.1875 + 1.21625
Bisecting this interval gives = 1.201875
2
f(1.201875) = 0.002065
Hence, a root lies between x = 1.1875 and x = 1.201875 due to a sign change
1.1875 + 1.201875
Bisecting this interval gives = 1.1946875
2
f(1.1946875) = –0.0419
Hence, a root lies between x = 1.201875 and x = 1.1946875 due to a sign change
1.201875 + 1.1946875
Bisecting this interval gives = 1.19828125
2
f(1.19828125) = –0.0199
Hence, a root lies between x = 1.201875 and x = 1.19828125 due to a sign change
1.201875 + 1.19828125
Bisecting this interval gives = 1.200087125
2
The last two values are both 1.20, correct to 4 decimal places. We therefore stop the iterations here
Let f(x) = x – 2 – ln x
f(2) = 2 – 2 – ln 2 = –0.693
f(3) = 3 – 2 – ln 3 = –0.0986
f(4) = 4 – 2 – ln 4 = 0.61371
Hence, the root lies between x = 3 and x = 4 because of the sign change.
Table 1
x1 x2 x1 + x2 f ( x3 )
x3 =
2
3 4 3.5 0.24724
3 3.5 3.25 0.071345
3 3.25 3.125 –0.014434
3.125 3.25 3.1875 0.028263
3.125 3.1875 3.15625 0.0068654
3.15625 3.125 3.140625 –0.003797
3.140625 3.15625 3.14844 0.0015312
3.14844 3.140625 3.145325 –0.0011327
3.1445325 3.14844 3.146486 0.0001999
3.146486 3.1445325 3.14550925
then f(0) = 0 – 0 = 0
1.75 + 2
Bisecting this interval gives = 1.875
2
Hence, a root lies between x = 1.75 and x = 1.875 due to a sign change
1.75 + 1.875
Bisecting this interval gives = 1.8125
2
f(1.8125) = –0.0729
Hence, a root lies between x = 1.875 and x = 1.8125 due to a sign change
1.875 + 1.8125
Bisecting this interval gives = 1.84375
2
f(1.84375) = –0.010
Hence, a root lies between x = 1.84375 and x = 1.875 due to a sign change
1.84375 + 1.875
Bisecting this interval gives = 1.859375
2
f(1.859375) = 0.021
Hence, a root lies between x = 1.84375 and x = 1.859375 due to a sign change
1.84375 + 1.859375
Bisecting this interval gives = 1.8515625
2
f(1.8515625) = 0.0051
Hence, a root lies between x = 1.8515625 and x = 1.84375 due to a sign change
1.8515625 + 1.84375
Bisecting this interval gives = 1.84765625
2
f(1.84765625) = –0.00281
Hence, a root lies between x = 1.8515625 and x = 1.84765625 due to a sign change
f(1.849609375) = 0.00109
Hence, a root lies between x = 1.84765625 and x = 1.849609375 due to a sign change
1.84765625 + 1.849609375
Bisecting this interval gives = 1.848632813
2
f(1.848632813) = –0.00091
Hence, a root lies between x = 1.849609375 and x = 1.848632813 due to a sign change
1.849609375 + 1.848632813
Bisecting this interval gives = 1.849121094
2
The last two values are both 1.849, correct to 4 significant figures. We therefore stop the iterations here
significant figures.
Since f(3), f(4), and so on do not produce a change of sign, then there is only one positive root
First approximation
Second approximation
3(1.7 + δ1 )2 + 5(1.7 + δ1 ) – 17 = 0
Neglecting terms containing products of δ1 and using the binomial series gives:
17 − 8.67 − 8.5
δ1 ≈ ≈ −0.01118
15.2
Third approximation
3(1.6888 + δ2 )2 + 5(1.6888 + δ2 ) – 17 = 0
Neglecting terms containing products of δ2 and using the binomial series gives:
17 − 8.55614 − 8.444
δ2 ≈ ≈ −0.00000925
15.1328
Since x 2 and x 3 are the same when expressed to the required degree of accuracy, then the required positive
f(– 1) = 3 – 5 – 17 = –19
f(– 2) = 12 – 10 – 17 = –15
f(– 3) = 27 – 15 – 17 = –5
f(– 4) = 48 – 20 – 17 = 11 Hence a root lies between x = –3 and x = –4
Since f(– 5), f(– 6), and so on do not produce a change of sign, then there is only one negative root
First approximation
Second approximation
Neglecting terms containing products of δ1 and using the binomial series gives:
17 − 34.68 − 17
δ1 ≈ = 0.044156
−15.4
Third approximation
394 © 2014, John Bird
Let the true value of the root, x 3 , be (x 2 + δ2 )
3(–3.3558 + δ2 )2 + 5(–3.3558 + δ2 ) – 17 = 0
Neglecting terms containing products of δ2 and using the binomial series gives:
16.779 − 33.78418 + 17
δ2 ≈ ≈ 0.000342
−15.1348
Since x 2 and x 3 are the same when expressed to the required degree of accuracy, then the required
Thus, the two solutions of the equation 3x2 + 5x – 17 = 0 are 1.69 and –3.36, correct to 3 significant
figures
places.
Let f(x) = x3 − 2 x + 14
f(0) = 14
f(1) = 1 – 2 + 14 = 13
f(2) = 8 – 4 + 14 = 18 (There are no positive values of x)
f(–1) = –1 + 2 + 14 = 15
f(–2) = –8 + 4 + 14 = 10
f(–3) = –27 + 6 + 14 = –7
First approximation
Second approximation
395 © 2014, John Bird
Let the true value of the root, x 2 , be (x 1 + δ1 )
(–2.6 + δ1 )3 – 2(–2.6 + δ1 ) + 14 = 0
Neglecting terms containing products of δ1 and using the binomial series gives:
17.576 − 5.2 − 14
δ1 ≈ ≈ −0.08884
18.28
Third approximation
19.439 − 5.3776 − 14
δ2 ≈ ≈ 0.003119
19.6888
Fourth approximation
19.3719 − 5.3714 − 14
δ2 ≈ ≈ 0.00002546
19.63895
Since x 3 and x 4 are the same when expressed to the required degree of accuracy, then the required root
significant figures.
First approximation
Second approximation
Third approximation
Fourth approximation
0.61008δ3 ≈ –0.0080923
−0.0080923
δ3 ≈ ≈ −0.0132643
0.61008
Fifth approximation
Since x 4 and x 5 are the same when expressed to the required degree of accuracy, then the required root
This root, x = –1.53, may be found in exactly the same way as for the positive root above
significant figures.
First approximation
399 © 2014, John Bird
Let the first approximation be –12.0
Second approximation
Third approximation
Since x 2 and x 3 are the same when expressed to the required degree of accuracy, then the required root
Thus, the two solutions of the equation x4 + 12x3 – 13 = 0 are 1.000 and –12.01, correct to 4 significant
figures
f ( r1 )
A better approximation is given by: r2= r1 − f '( x) = 2x – 2
f '(r1 )
Since f(6), f(7), and so on do not change sign, there are no further positive roots
f ( r1 )
A better approximation is given by: r2= r1 − f '( x) = 2x – 2
f '(r1 )
f (−2.73876) −0.021674
r4 =
−2.73876 − =
−2.73876 − =
−2.74166
f '(−2.73876) −7.47752
f (−2.74166) 0.000019556
r5 =
−2.74166 − =
−2.74166 − =
−2.7417
f '(−2.74166) −7.48332
2. Use Newton’s method to solve: 3x3 – 10x = 14, correct to 4 significant figures.
f ( r1 )
A better approximation is given by: r2= r1 − f '(=
x) 9 x 2 − 10 x
f '(r1 )
f(2) = 16 – 24 + 14 – 12 = –6 f(3) = 81 – 81 + 21 – 12 = 9
(Since f(4), f(5), and so on do not change sign, there are no further positive roots)
402 © 2014, John Bird
f ( r1 )
A better approximation is given by: r2= r1 − f '( x) = 4 x3 − 9 x 2 + 7
f '(r1 )
f(– 1) = 1 + 3 – 7 – 12 = – 15 f(– 2) = 16 + 24 – 14 – 12 = 14
(Since f(– 3), f(– 4), and so on do not change sign, there are no further negative roots).
f ( r1 )
A better approximation is given by: r2= r1 − f '( x) = 4 x3 − 9 x 2 + 7
f '(r1 )
f (−1.72276) 0.0880710
r4 =
−1.72276 − =
−1.72276 − =
−1.72057
f '(−1.72276) −40.163049
f (−1.72057) 0.0002736118
r5 =
−1.72057 − =
−1.72057 − =
−1.72056
f '(−1.72057) −40.017284
There are no further negative roots since, once again, the x 4 term predominates.
1.734046
r3 =
1.56985 − =
1.49715
23.8522585
0.12925743
r4 =
1.49715 − =
1.49081
20.3720909
0.000994417
r5 =
1.49081 − =
1.49076
20.089988
Let r1 = −1.2
2.4589815
r3 =
−1.4343 − =
−1.3880
−53.094585
0.11488764
r4 =
−1.3880 − =
−1.3856
−48.207045
0.00051387
r5 =
−1.3856 − =
−1.3856
−47.960999
f ( r1 ) 3
A better approximation is given by: r2= r1 − f '( x)= +4
f '(r1 ) x
(Since f(2), f(3), and so on do not change sign, there are no further positive roots)
f ( r1 )
A better approximation is given by: r2= r1 − f '(=
x) 3 x 2 + 10sin 2 x
f '(r1 )
f (0.74414) −0.0000502729
r4 =
0.74414 − =
0.74414 − =
0.74414
f '(0.74414) 11.6272076
f(0) = 0 – 5 cos 0 = –5
f ( r1 )
A better approximation is given by: r2= r1 − f '(=
x) 3 x 2 + 10sin 2 x
f '(r1 )
(−0.8)3 − 5cos(−1.6) −0.366002388
Hence, r2 =
−0.8 − =
−0.8 − =
−0.84532
3(−0.8) + 10sin(−1.6)
2 −8.0757360
405 © 2014, John Bird
f (−0.84532) −0.0062518324
r3 =
−0.84532 − =
−0.84532 − =
−0.8461
f '(−0.84532) −7.78457567
f (−0.8461) −0.00018213729
r4 =
−0.8461 − =
−0.8461 − =
−0.8461
f '(−0.8461) −7.77874058
(Since f(– 3), f(– 4), and so on do not change sign, there are no further roots)
f ( r1 )
A better approximation is given by: r2= r1 − f '(=
x) 3 x 2 + 10sin 2 x
f '(r1 )
(−1.7)3 − 5cos(−3.4) −0.07900903
Hence, r2 =
−1.7 − =
−1.7 − =
−1.69296
3(−1.7) + 10sin(−3.4)
2 11.2254110
f (−1.69296) −0.0007143059
r3 =
−1.69296 − =
−1.69296 − =
−1.6929
f '(−1.69296) 11.01737772
Thus, the solutions to x3 = 5 cos 2x, correct to 3 decimal places, are 0.744, –0.846 and –1.693
θ
7. Use Newton’s method to solve: 300e −2θ + = 6, correct to 3 significant figures.
2
θ
Let f(θ) = 300 e −2θ + −6 f(0) = 300 – 6 = 294 f(1) = 35.1 f(2) = 0.495
2
There are no further positive roots since the 300 e −2θ term predominates. There are no negative
Let r1 = 2 f '( x) =
−600 e −2θ + 0.5
−0.00436387
r3 =
2.0492 − =
2.0497
−9.45952774
406 © 2014, John Bird
Hence, correct to 3 significant figures, x = 2.05
8. Solve the equations in Problems 1 to 5, Exercise 104, page 228 and Problems 1 to 4, Exercise 105,
π 1
y = t + + sin t + sin 3t
4 8
Use Newton’s method to determine the value of t near to 0.04, correct to 4 decimal places, when the
amplitude, y, is 0.880
π 1 π 1
When y = 0.88, then 0.88 = t + + sin t + sin 3t or t + + sin t + sin 3t − 0.88 =
0
4 8 4 8
π 1
Let f(t) = t + + sin t + sin 3t − 0.88
4 8
3
Let r1 = 0.04 f '(t ) =
1 + cos t + cos 3t
8
π 1
0.04 + + sin 0.04 + sin 3(0.04) − 0.88
f (r1 ) 4 8 0.0003515
r2 =r1 − =0.04 − = 0.04 −
f '(r1 ) 3 2.371503345
1 + cos 0.04 + cos 3(0.04)
8
= 0.03985
−0.000004203
r3 =
0.03985 − =
0.03985
2.371529496
10. A damped oscillation of a system is given by the equation: y = –7.4e0.5t sin 3t. Determine the value
of t near to 4.2, correct to 3 significant figures, when the magnitude y of the oscillation is zero.
Let r1 = 4.2
f (4.189) −0.037825
r3 =
4.189 − =
4.189 − =
4.189
f '(4.189) −180.3134965
11. The critical speeds of oscillation, λ, of a loaded beam are given by the equation:
λ 3 − 3.250λ 2 + λ − 0.063 =0
Determine the value of λ which is approximately equal to 3.0 by Newton’s method, correct to
4 decimal places.
Let r1 = 3.0
0.0370604
r3 =
2.91918 − =
2.91430
7.5901656
0.00015139
r4 =
2.91430 − =
2.91428
7.5364835