Professional Documents
Culture Documents
GAuss Elimination
GAuss Elimination
ELIMINATION
1 Theory
Let us conider a following set of equation:
2 Program
a. Problem: Solve the following set of linear equation
15
b. Source Code:
c. Output:
[[ 3. 2. 4. 7. ]
[ 0. -0.33333333 -1.66666667 -0.66666667]
[ 0. 0. -8. -5. ]]
x1 = 2.25 ,x2 = -1.1249999999999996 ,x3 = 0.6250000000000001
16