¥
125
¥
63
t
D
¥
¥
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
can be represented by the matrix equation below.
The matrix equation may be solved for X , Y , and Z by multiplying the result matrix
by the inverse of the coefficient matrix.
Specifics regarding the inversion process are given in the comments for the
inversion routine, I .
15–12
Mathematics Programs
AX + DY + GZ = J
BX + EY + HZ = K
CX + FY + IZ = L
A
D
G
B
E
H
C
F
I
A
D
G
B
E
H
C
F
I
Sets T equal to 125.
Sets P equal to 63.
Calculates dot product.
Calculates angle between
resultant force vector and lever.
Gets back to input routine.
X
J
Y
K
Z
L
J
X
K
Y
L
Z