Professional Documents
Culture Documents
1. This problem can be solved by determining the root of the following equation:
Applying Newton-Raphson formula given above gives with the initial guess of = 6
Iteration 1:
=3 7 75 .
3\7 + 20 .
3\7 − 15 −2.23818
= − = 6 − = 6 − = 3.693383
= Y 3 7 −112.5 .
3\7 − 1.5 .
3\7 −0.97033
3.693383 − 6
∈$ = ^ ^ × 100 = 62.45% ≫ 0.5%
3.693383
Iteration 2:
=3 7 75 .
3.\ab7 + 20 .
3.\ab7 − 15 0.455501
= − Y = 3.693383 − = 3.693383 −
= 3 7 −112.5 .
3.\ab7 − 1.5 .
3.\ab7 −1.57878
= 3.981898
3.981898 − 3.693383
∈$ = ^ ^ × 100 = 7.25% > 0.5%
3.981898
Iteration 3:
=3 7 75 .
3.abbab7 + 20 .
3.abbab7 − 15 0.02752
= − Y = 3.981898 − = 3.981898 −
= 3 7 −112.5 .
3.abbab7 − 1.5 .
3.abbab7 −1.39927
= 4.001565
4.001565 − 3.981898
∈$ = ^ ^ × 100 = 0.49% < 0.5%
4.001565
After three iterations, an accurate root determination (with at least 2 significant digits) can be obtained in
a few iterations (only 3 iterations) as follows
U,, = 4.002
2. The equations should first be rearranged so that they are diagonally dominant as follows:
6 − − = 3
6 + 9 + = 40
−3 + + 12 = 50
Iteration 0 (Initial Values):
= 0; = 0; = 0
3 + + 3 + 0 + 0
Iteration 1:
= = = 0.5;
6 6
40 − 6 − 40 − 630.57 − 0
= = = 4.11111
9 9
Prof.Dr. Hüseyin Oğuz MATH224 SumSchoolFinalExam-18-08-14
Page 3 / 4
50 + 3 − 50 + 330.57 − 4.11111
= = = 3.949074
12 12
The absolute relative approximate error as percentages can be computed as follows:
0.5 − 0
$, = ^ ^ × 100 = 100%
0.5
4.11111 − 0
$, = ^ ^ × 100 = 100%
4.11111
3.949074 − 0
$, = ^ ^ × 100 = 100%
3.949074
3 + + 3 + 4.11111 + 3.949074
Iteration 2:
= = = 1.843364;
6 6
40 − 6 − 40 − 631.8433647 − 3.949074
= = = 2.776749
9 9
50 + 3 − 50 + 331.8433647 − 2.776749
= = = 4.396112
12 12
1.843364 − 0.5
$, = ^ ^ × 100 = 72.88% 34204947
1.843364
2.776749 − 4.11111
$, = ^ ^ × 100 = 48.05%
2.776749
4.396112 − 3.949074
$, = ^ ^ × 100 = 10.17%
4.396112
3 + + 3 + 2.776749 + 4.396112
Iteration 3:
= = = 1.695477;
6 6
40 − 6 − 40 − 631.6954777 − 4.396112
= = = 2.82567
9 9
50 + 3 − 50 + 331.6954777 − 2.82567
= = = 4.355063
12 12
1.695477 − 1.843364
$, = ^ ^ × 100 = 8.72% 34204947 < 10%
1.695477
2.82567 − 2.776749
$, = ^ ^ × 100 = 1.73%
2.82567
4.355063 − 4.396112
$, = ^ ^ × 100 = 0.94%
4.355063
The solution vector is:
1.695477
e f = e 2.82567 f
4.355063
3. Employing exponential model given requires transformation (linearization) of it to use least-square
method as follows:
g J
% ) i l m%) i
! = !" % = h% j k # g&'(
g&'( → ln ! = ln h% j k + ln # + h− % k # + 1 →
&'( &'( &'( &'(
! !" 1
qln l m − 1r = ln l m + l− m # → .@ = 2 + 2 # 3:0/210T6/12/-=,146 =,147
# #$ #$
# %
! = 234.41 .a\)
217.96
4. a) Analytically (use chain rule):
.\
2 .
> .\ 2
} 32 .
> 7 6 == q r = −0.54209 − l m = 0.79124
−1.5 −1.5
b) Applying combination of Trapezoidal and Simpson’s Rules (single trapezoidal+ single Simpson’s 3/8
Rule+ Single Simpson’s 1/3 Rule) as follows:
2 + 1.8555 1.855 + 331.5970 + 1.37467 + 1.1831
# ≅ 30.05 − 07 + 30.35 − 0.057 +
2 8
1.1831 + 430.98087 + 0.8131
30.6 − 0.357 = 0.79126
6