Instructions for M x N Systems Applet:
- First, enter in M variables, separated by spaces ...
- If the coefficient is 1 or -1, enter it in
as 1.0* or -1.0*
- Then, enter a system of N equations
in the left window, separated by a semicolon ";"
- After you have entered equations, press "Add Equations" button.
You can add spaces and/or new lines for readability.
- Clicking a gray area changes the sign of the equation.
- Within an equation (row), dragging col1 to col2 divides entire equation by col1.
- Dragging the right hand side of row1 to right hand side of row2 adds first
equation to second.
- Dragging a coefficient of equation #1 to second, equation #2, multiplies
equation #2 by this value.
- The "Clear" button resets everything.
- The "Answer" button prints answer in right window if system
is in correct form.
- Note: you can use variables such as x1 or even x[1].
- Note: variables can occur in any order within the equation.
- Note: only the first 3 or 4 significant digits are printed...
- Note: This version is currently limited to 10x10 systems...
- Note: If you want to change the order of the system, say to a 2x2,
make sure that the variables are changed also.
E.g. "x y z" to "x y".
You can also solve linear programming problems via the simplex method.
Enter in the augmented system (simplex tablea).
- find the maximum negative element in the last row, this
defines the pivot column
- normalize each element in this column to be 1.0
- find the smallest negative element in the last column, this
is the pivot row
- The pivot element is the intersection of the pivot column and
pivot row.
- Use the pivot element to reduce each row above and below it,
but without changing the sign of the other terms in the last
row (if it changes sign, more negative elements in the last row
will appear!).