You are on page 1of 3

PROGRAM HITUNGAN GAUSS JORDAN

Soal 2.5 x1 -1 x2 1 x3 = 2.4


1.2 x1 2 x2 -3 x3 = 4.4
-1 x1 2.6 x2 1.8 x3 = 6.8

Matriks A 2.5 -1 1 2.4


1.2 2 -3 4.4
-1 2.6 1.8 6.8

Normalisasi B1 1 -0.4 0.4 0.96


1.2 2 -3 4.4
-1 2.6 1.8 6.8

Eliminasi x1 1 -0.4 0.4 0.96


0 2.48 -3.48 3.248
0 2.2 2.2 7.76

Normalisasi B2 1 -0.4 0.4 0.96


0 1 -1.40323 1.309677
0 2.2 2.2 7.76

Eliminasi x2 1 0 -0.16129 1.483871


0 1 -1.40323 1.309677
0 0 5.287097 4.87871

Normalisasi B3 1 0 -0.16129 1.483871


0 1 -1.40323 1.309677
0 0 1 0.922758

Eliminasi x3 1 0 0 1.632703
0 1 0 2.604515
0 0 1 0.922758

x1 1.632703
x2 2.604515
x3 0.922758
INVERS MATRIKS GAUSS JORDAN

Matriks A 2.5 -1 1 Matriks Identitas 1 0 0


1.2 2 -3 0 1 0
-1 2.6 1.8 0 0 1

Matriks A' 2.5 -1 1 1 0 0


1.2 2 -3 0 1 0
-1 2.6 1.8 0 0 1

Normalisasi B1 1 -0.4 0.4 0.4 0 0


1.2 2 -3 0 1 0
-1 2.6 1.8 0 0 1

Eliminasi x1 1 -0.4 0.4 0.4 0 0


0 2.48 -3.48 -0.48 1 0
0 2.2 2.2 0.4 0 1

Normalisasi B2 1 -0.4 0.4 0.4 0 0


0 1 -1.40323 -0.19355 0.4032258065 0
0 2.2 2.2 0.4 0 1

Eliminasi x2 1 0 -0.16129 0.322581 0.1612903226 0


0 1 -1.40323 -0.19355 0.4032258065 0
0 0 5.287097 0.825806 -0.8870967742 1

Normalisasi B3 1 0 -0.16129 0.322581 0.1612903226 0


0 1 -1.40323 -0.19355 0.4032258065 0
0 0 1 0.156193 -0.1677852349 0.18914

Eliminasi x3 1 0 0 0.347773 0.1342281879 0.030506


0 1 0 0.025625 0.1677852349 0.265406
0 0 1 0.156193 -0.1677852349 0.18914

Matriks A-1 0.347773 0.134228 0.030506


0.025625 0.167785 0.265406
0.156193 -0.16779 0.18914

x1 1.632703
x2 2.604515
x3 0.922758
2.4
4.4
6.8

You might also like