Beruflich Dokumente
Kultur Dokumente
1 1
1
1
x1
2 3 1 1 x2
1 5 2 1 x3
5 1 1 1
x4
11
18
=
25
7
(1)
1 1
1
1
11
2 3 1 1 18
1 5 2 1 25
5 1 1 1 7
(2)
1 1
1
1
11
0 1 3 3 4
0 6 3 0 36
0 6 6 6 48
(3)
1
0
0
0
0 4
4
15
1 3 3 4
0 21 18 60
0 24 24 72
(4)
1
0
0
0
0 4
4
15
1 3 3 4
0 1
2
4
0 24 24 72
(5)
1
0
0
0
0 4 1
0 3
8
1 2
4
0 24 24
0
1
0
0
(6)
1
0
0
0
0
1
0
0
0
0
1
0
0
0
0
1
3
5
2
1
(7)
x1
3
x2 5
x3 = 2
x4
1
As required.
1. Solution to Problem 2
Using the Thomas Algorithm solve for the given system of equations
(8)
Solution:
Below is the system in matrix form:
2
1
0
0
1
4
1
0
0
1
4
1
0
P1
P2
0
1 P3
2
P4
4
12
=
18
11
(9)
The Thomas Algorithm is done by using the equations below to modify the coefficients of the augmented matrix:
(
c0i
ci
bi
i=1
i = 2, 3 . . . , n 1
ci
bi c0i1 ai
(d
d0i =
bi
di d0i1 ai
bi c0i1 ai
i=1
i = 2, 3 . . . , n
(10)
(11)
xn = d0n
(12)
(13)
c01 =
c1
1
=
b1
2
(14)
c02 =
1
c2
=
0
b2 c1 a2
4
c03 =
1
c3
=
0
b 3 c 2 a3
4
1
2
2
7
2
7
(15)
7
26
(16)
d1
=2
b1
(17)
d02 =
d2 d01 a2
12 2
20
=
1 =
0
b 2 c 1 a2
7
4 2
(18)
d03 =
18 20
d2 d02 a3
53
7
=
2 =
0
b 3 c 2 a3
13
4 7
(19)
53
11 13
d4 d03 a4
=
7 = 4
b4 c03 a4
2 26
(20)
d01 =
d04 =
x4 = d04 = 4
(21)
x3 = d03 c03 x4 =
7
53
4=3
13 26
(22)
x2 = d02 c02 x3 =
20 2
3=2
7
7
(23)
x1 = d01 c01 x2 = 2
1
2=1
2
(24)
x1
1
x2 2
x3 = 3
x4
4
As required. .
(25)