Title: Solving Systems of Linear Equations
1Solving Systems of Linear Equations
2(No Transcript)
3(No Transcript)
4(No Transcript)
5Enter the Coefficients and Constants from the
Equations
6In an empty cell, type minverse(data range),
Enter
7Select a range that is the same size as the
coefficient matrix
8Press F2, then CtrlShiftEnter
9In a blank cell, type mmult(range1,range2), Enter
10Select a range containing the first cell that
contains the same number of cells as unknowns
11Press F2, CtrlShiftEnter
12Benefits of Matrix Method
- Coefficients and Constants can be changed and the
solutions are immediately calculated - Applies easily to large systems of equations.
- Shortfalls
- Cannot be used for non-linear equations
13Benefits of Solver Method
- Can be used for all non-linear equations
- Shortfalls
- Tedious for large systems of equations.
- Initial guesses must be given, and solution may
not converge if the guesses are not close to the
actual solution. - Any change in the problem requires that Solver be
rerun again.
14Temperature Distribution in a Square Plate
100 oC
50 oC
75 oC
25 oC
15Solution
16100 oC
T11
T12
T13
T21
T22
T23
50 oC
75 oC
T32
T33
T31
T11 T12 T13 T21 T22 T23 T31 T32 T33 Constant
-4 1 1 -175
1 -4 1 1 -100
1 -4 1 -150
1 -4 1 1 -75
1 1 -4 1 1 0
1 1 -4 1 -50
1 -4 1 -100
1 1 -4 1 -25
1 1 -4 -75
25 oC