Simultaneous Equations

MET 107
Homework 21 – Simultaneous Equations
Later in this document, you will be asked to solve a series of simultaneous equations. Pay attention to the
instructions for producing documentation using the Grid and Header and Cell Formulas macros.
Solve each of the systems of equations using matrix math functions in Excel. Whenever a variable is missing
from an equation, its coefficient will be zero in the coefficient matrix. Each problem should be checked by
multiplying the coefficient matrix by the solution matrix to obtain the original constant matrix.
The following is an example (do not turn this in):
.5x1 - .4x2
.8x1 - 3x2
x1 + .4x2
.2x1 + .6x2
+
3x4 = 5.2
+ x3 - .5x4 = -6.2
- .2x3 + .6x4 = 4.1
- .3x3
= 7.0
107_H21-Simultaneous Equations.docx
3/27/2014
Note: Your input region should
list the equations as shown.
You do not have to include the
text boxes.
Page 1 of 3
Solve the following equations:
A) 2x1 + 3x2 = -10
3x1 - 2x2 = -2
B) 4x1 – x2 – 3x3 = 1
2x1 + x2 + 2x3 = 5
8x1 + x2 - x3 = 5
Your resultant (variable) matrix should
be formatted to 3 decimal places for
Problems A), B) & C).
Problem D) results are displayed with 0
decimal places.
Note that A) and B) are to be done on a single worksheet.
 Print this worksheet using the both the Grid and Header and the Copy Cell Formula macro.
C)
2x1 – 3x2 + x3 – 2x4 = 8
x1 – x2
- 6x4 = -4
3x2
+ 4x4 = 6
6x1 + 2x2 – 3x3 + 7x4 = 12
Note that C) is to be done on a single worksheet.
 Print this worksheet using the both the Grid and Header and the Copy Cell Formula macro.
D) This problem involves solving 10 equations for 10 unknown forces in order to determine the forces in
truss members. F1, F2, 1, and 2 should be set up to be variable inputs in your sheet.
Start a new worksheet for this problem.
The equations of equilibrium are as follows:
R1 + T1 cos 60° + T2 = 0
R2 + T1 sin 60° = 0
-T2 – T3 cos 60° + T4 cos 60° + T5 = 0
T3 sin 60° + T4 sin 60° = 0
-T5 – T6 cos 60° = 0
T6 sin 60° + R3 = 0
Hint:
The easiest way of displaying these
equations in Excel would be to use the
Snipping Tool to insert an image of
these.
-T1 cos 60° + T3 cos 60° + T7 – F1 cos 1 = 0
-T1 sin 60° – T3 sin 60° – F1 sin 1 =
The information in these boxes are your
“constants” and are a function of the Inputs
-T4 cos 60° – T7 + T6 cos 60° – F2 cos 2 = 0
-T4 sin 60° – T6 sin 60° – F2 sin 2 = 0
Note that R1 is the horizontal reactive force, R2 is the vertical reactive force at the left support and R3 is the
vertical reactive force at the right support.
107_H21-Simultaneous Equations.docx
3/27/2014
Page 2 of 3
In Excel, solve the system of equations.
Use a format similar to the one shown below for your calculations.
Draw a figure of the truss and include textboxes to label the figure. Link the textboxes to the results so the
force in each member (T1 – T7 ; shown in the boxes) and the reactions (R1 – R3) are shown in the figure. The
given forces and their angles should also appear in the figure, linked to the input boxes. The solution to the
given problem is shown.

Print your worksheet for the above test case using the both the Grid and Header and the Copy Cell
Formula macro.
Change the input values as follows:
F1 = 6000 lbs, 1 = 60 deg, F2 = 2000 lbs, 2 = 90 deg.


Print your worksheet using the both the Grid and Header macro only.
Make sure you attach the summary sheet with the values displayed to 3 & 0 decimal places.
107_H21-Simultaneous Equations.docx
3/27/2014
Page 3 of 3