You are on page 1of 14

Solving Simultaneous Equations: using MINVERSE and MMULT Using SOLVER

x y rhs x y
1 3 8 5 1
1 -2 3 0
0

0.4 0.6 5 =x Proofs are in cells J5 and J6 … p


0.2 -0.2 1 =y then x = 5 and y = 1

5.000 3.000 8
5.000 -2.000 3
J5 is the objective function with a value set to 0
H4 and I4 are the changing cells
…1 Constraint is J6 = 0
…2

Proofs are in cells J5 and J6 … providing they are both equal to 0


then x = 5 and y = 1
Solving Simultaneous Equations Using SOLVER

x y z rhs x y
1 2 -1 3 5 -9
3 1 0 6
2 1 0 1
indirect method direct method
0 1 -1 5 x 5
0 -2 3 -9 y -9
-1 -3 5 -16 z -16

5.000 -18.000 16.000 3


15.000 -9.000 0.000 6
10.000 -9.000 0.000 1
z
-16
0
0
0
Solving Simultaneous Equations

x y z rhs
2 -3 1 8
-1 4 2 -4
3 1 2 9
indirect method direct method
-0.2400 -0.2800 0.4000 2.8000 x 2.8
-0.3200 -0.0400 0.2000 -0.6000 y -0.6
0.5200 0.4400 -0.2000 0.6000 z 0.6

5.600 1.800 0.600 8


-2.800 -2.400 1.200 -4
8.400 -0.600 1.200 9
Using SOLVER

x y z
2.8 -0.6 0.6
0
0
0
Solving Simultaneous Equations Using SOLVER

x y z rhs x y
1 -1 2 -3
0 1 -3 5
1 4 -8 17
indirect method direct method
0.8 0 0.2 1 x 1
-0.6 -2 0.6 2 y 2
-0.2 -1 0.2 -1 z -1

1.000 -2.000 -2.000 -3


0.000 2.000 3.000 5
1.000 8.000 8.000 17
z
Solving Simultaneous Equations

x y z rhs
1 1 0 2
1 3 1 5
3 1 1 3
indirect method direct method
0.5000 -0.2500 0.2500 0.5000 x 0.5
0.5000 0.2500 -0.2500 1.5000 y 1.5
-2.0000 0.5000 0.5000 0.0000 z 0

0.500 1.500 0.000 2


0.500 4.500 0.000 5
1.500 1.500 0.000 3
Solving Simultaneous Equations

x y z t rhs
2 2 3 2 11
1 1 2 2 6
0 2 5 2 5
1 1 3 4 1
indirect method oops matrix cannot bdirect method
Err:502 Err:502 Err:502 Err:502 x Err:502
Err:502 Err:502 Err:502 Err:502 y Err:502
Err:502 Err:502 Err:502 Err:502 z Err:502
Err:502 Err:502 Err:502 Err:502 t Err:502

0 0 0 0 0 0
0 0 0 0 0 0
0 0 0 0 0 0
0 0 0 0 0 0
Solving Simultaneous Equations Using SOLVER

x y z t rhs x
2 -1 5 1 -3 2
3 2 2 -6 -32
1 3 3 -1 -47
5 -2 -3 3 49
indirect method direct method
0.0234 0.0643 0.0585 0.1404 2.0000 x 2.0000
-0.1608 -0.0673 0.3480 0.0351 -12.0000 y -12.0000
0.1564 -0.0073 0.0161 -0.0614 -4.0000 z -4.0000
0.0102 -0.1594 0.1506 0.0614 1.0000 1.0000

4.000 12.000 -20.000 1.000 -3.000 -3


6.000 -24.000 -8.000 -6.000 -32.000 -32
2.000 -36.000 -12.000 -1.000 -47.000 -47
10.000 24.000 12.000 3.000 49.000 49
Using SOLVER

y z t
-12 -4 1
0
0
0
0
Solving Simultaneous Equations

x y z t rhs
1 2 -3 4 12
2 2 -2 3 10
0 1 1 0 -1
1 -1 1 -2 -4
indirect method direct method
-2.0000 2.0000 -1.0000 -1.0000 1.0000 x 1.0000
7.0000 -6.0000 4.0000 5.0000 0.0000 y 0.0000
-7.0000 6.0000 -3.0000 -5.0000 -1.0000 z -1.0000
-8.0000 7.0000 -4.0000 -6.0000 2.0000 2.0000

1.000 0.000 3.000 8.000 12.000 12


2.000 0.000 2.000 6.000 10.000 10
0.000 0.000 -1.000 0.000 -1.000 -1
1.000 0.000 -1.000 -4.000 -4.000 -4
Solving Simultaneous Equations

x y z t rhs
-64 16 -4 1 -5
-27 9 -3 1 -4
-8 4 -2 1 -3
-1 1 -1 1 4
indirect method direct method
-0.1667 0.5000 -0.5000 0.1667 1.0000 x 1.0000
-1.0000 3.5000 -4.0000 1.5000 9.0000 y 9.0000
-1.8333 7.0000 -9.5000 4.3333 27.0000 z 27.0000
-1.0000 4.0000 -6.0000 4.0000 23.0000 t 23.0000

-64.000 144.000 -108.000 23.000 -5.000 -5


-27.000 81.000 -81.000 23.000 -4.000 -4
-8.000 36.000 -54.000 23.000 -3.000 -3
-1.000 9.000 -27.000 23.000 4.000 4

You might also like