The LSYST program is a simple program that can be used to solve for a linear system with any number of unknowns. (The number of equations must mach the number of unknowns.)

Take a system with three equations and three unknowns for example:

  3x + 2y -8z = -20
 -2x + y + 3z = 11
  4x - y + 6z = 29

The way to solve the system with this program is to enter the coefficients of each variable on the stack for each equation and then enter into the stack the numbers on the right hand side of the equation. Finally, enter the number of variables for which you are solving. In this case it would be three (3). The system above would be entered on the stack as follows:

3
2
-8
-2
1
3
4
-1
6
-20
11
29
3

With this information on the stack, pressing LSYST will solve the system. the result on the stack will look like this:

'-----------------------'
                       2
                       3
                       4

This corresponds to x = 2, y = 3, and z = 4.

The dashed lines are there to separate the results from anything else you may have had on the stack.

WARNING: This is a very simple program with no bells or whistles. Enter the information with care to avoid obtaining incorrect results.
