A SERVICE OF

logo

15–12 Mathematics Programs
125
g
@
)
Sets T equal to 125.
63
g
@
)
Sets P equal to 63.
X
D
/
)
Calculates dot product.
g
/
)
Calculates angle between
resultant force vector and lever.
g
@
)
Gets back to input routine.
Solutions of Simultaneous Equations
This program solves simultaneous linear equations in two or three unknowns. It
does this through matrix inversion and matrix multiplication.
A system of three linear equations
AX + DY + GZ = J
BX
+ EY + HZ = K
CX + FY + IZ = L
can be represented by the matrix equation below.
»
»
»
¼
º
«
«
«
¬
ª
=
»
»
»
¼
º
«
«
«
¬
ª
»
»
»
¼
º
«
«
«
¬
ª
L
K
J
Z
Y
X
IFC
HEB
GDA
The matrix equation may be solved for X, Y, and Z by multiplying the result matrix
by the inverse of the coefficient matrix.
»
»
»
¼
º
«
«
«
¬
ª
=
»
»
»
¼
º
«
«
«
¬
ª
»
»
»
¼
º
«
«
«
¬
ª
Z
Y
X
L
K
J
IFC
HEB
GDA
Specifics regarding the inversion process are given in the comments for the
inversion routine,
I.