Sie sind auf Seite 1von 2

Naïve Gauss elimination for 3 by 3 matrices

Starting Matrix
3 -0.1 -0.2 7.85
A= 0.1 7 -0.3 b= -19.3
0.3 -0.2 10 71.4

Step 0 x Step 1 x Step 3 x Step 4 x Step 5


x1= 0 2.616667 3.000762 3.000806
x2= 0 -2.757143 -2.488524 -2.499738
x3= 0 7.14 7.006357 7.000207

Verification
0.332489 0.004944 0.006798 3
A^(-1)= -0.005182 0.142903 0.004183 x= -2.5
-0.010078 0.00271 0.09988 7

Two columns formula

x1= 0 2.616667
x2= 0 -2.757143
x3= 0 7.14

2.616667
-2.757143
7.14
Alternative A and b
1 2 3 1
4 5 6 b= 7
7 8 -9 2

x
3.000022
-2.500003
6.999981

Das könnte Ihnen auch gefallen