2
Naïve Gauss elimination for 3 by 3 matrices Starting Matrix 1 2 3 1 A= 4 5 6 b= 7 7 8 -9 2 Step 1 1 2 3 1 0 -0.75 -1.5 b= 0.75 0 -0.85714 -4.28571 -0.71429 Step 2 1 2 3 1 0 -0.75 -1.5 b= 0.75 0 0 -2.25 -1.375 Verification x3= 0.611111 x2= -2.22222 -1.72222 0.777778 -0.05556 x1= 3.611111 A^(-1)= 1.444444 -0.55556 0.111111 -0.05556 0.111111 -0.05556

Naive Gauss

Embed Size (px)

DESCRIPTION

numerical method

Citation preview

Sheet1Nave Gauss elimination for 3 by 3 matricesStarting Matrix1231A=456b=778-92Step 112310-0.75-1.5b=0.750-0.8571428571-4.2857142857-0.7142857143Step 212310-0.75-1.5b=0.7500-2.25-1.375Verificationx3=0.6111111111x2=-2.2222222222-1.72222222220.7777777778-0.05555555563.6111111111x1=3.6111111111A^(-1)=1.4444444444-0.55555555560.1111111111x=-2.2222222222-0.05555555560.1111111111-0.05555555560.6111111111