Академический Документы
Профессиональный Документы
Культура Документы
You have obtained the following six equations from KVL and KCL
1 25 i1 + 2 i3 -10 i5 = 130
2 10 i2 +10 i5 +2 i6 = 450
3 (-25) i1 -10 i2 + 100 i4 = 0
4 (-1) i1 + i3 - i4 =0
5 i1 - i2 + i5 = 0
6 i2 - i6 = 0
This gives you coefficients for matrix A, and vector b, with unknown vector x=[i1, i2, i3 , …, i6].
A*x=b
Step 1 Type your coefficients for the square matrix (this example is for a 6x6 matrix)
A*x=b
i1 i2 i3 i4 i5 i6 b
25 0 2 0 -10 0 130
0 10 0 0 10 2 450
-25 -10 0 100 0 0 0
-1 0 1 -1 0 0 0
1 -1 0 0 1 0 0
0 1 0 0 0 -1 0
a. Highlight the solution space (6x6 array) that will contain the inverse matrix
b. Type =
c. Select function MINVERSE and select the array at the top, i.e. A
d. Make sure to click CTRL-SHIFT-RETURN (that will evaluate the whole solution array)
Step 3 You have now found A' and will use the equation
x = A' *b
x= 10
25
15
5
15
25
b= 130
450
0
-1.776357E-15
1.065814E-14
-7.105427E-15
Solving a system of equations with Excel
2x2
A*x=b
x1 x2 b x
A= 4 -2 6 1.714286
1 3 3 0.428571
3x3
A*x=b
x1 x2 x3 b x
A= 1 2 3 4 0.125
5 6 7 8 -1.25
3 -2 1 5 2.125
4x4
A*x=b
x1 x2 x3 x4 b x
A= 1 2 3 4 4 -0.39583
5 6 7 5 8 -3.59375
3 -2 1 6 5 5.25
4 4 5 7 3 -1.04167
5x5
A*x=b
x1 x2 x3 x4 x5 b x
A= 1 2 3 4 3 4 -1.15789
5 6 7 5 3 8 -4.73684
3 -2 1 6 3 5 7.078947
4 4 5 7 3 3 -0.73684
4 2 3 2 3 2 -1.2193
6x6
A*x=b
x1 x2 x3 x4 x5 x6 b
A= 1 2 3 4 3 1 4
5 6 7 5 3 2 8
3 -2 1 6 3 3 5
4 4 5 7 3 2 3
4 2 3 2 3 1 2
5 5 4 3 2 1 1
4
8
5
3
2
1