
           *******************************************************************

  ********   ********   ********   ***   ***   ********   ********   ********   ***   ***
  ***        ***  ***   ***        ***   ***   ***           **      ***        **** ****
  ******     ***  ***   ********    *** ***    ********      **      ********   *** * ***
  ***        ***  ***        ***      ***           ***      **      ***        ***   ***
  ********   ********   ********      ***      ********      **      ********   ***   ***
                   ***

           *******************************************************************

Program: EQSYSTEM (the equations solver)
Author:  Sakic Emir
Date:    08.12.1998.

This program solves systems of the equations with many variables.
It is very useful in linear algebra. 

For example: 
If you want to solve a system of 3 equations with 3 variables 

2X+3Y-4Z=6
7X-4Y+8Z=12
 X+ Y   =3

do the following:


1) Start prgmEQSYSTEM

2) Enter the number of variables. (in our case 3)

3) Enter the number of equations. (in our case 3)

You will see a picture that shows you how to enter the coefficients of the system. 

4) Now enter the system coefficients in order. 
(in our case: 2, 3, -4, 6, 7, -4, 8, 12, 1, 1, 0, 3) 
Press enter after each number, of course.

5) You will see your system on the display. 
On the bottom you will get the answers. 
(in our case X=2 Y=1 Z=0.25)

6) Press ENTER

7) You will get the answers in the fraction form now. 
(in our case 2, 1, 1/4)


Program EQSYSTEM can even solve the systems with more variables then equations. 

For example: 
To solve the system:
 X+2Y- Z=3
 X- Y+2Z=6

Do the following: 

1) Start prgmEQSYSTEM

2) Enter the number of variables. (in our case 3)

3) Enter the number of equations. (in our case 2)

You will see a picture that shows you how to enter the coefficients of the system. 

4) Now enter the system coefficients in order. 
(in our case: 1, 2, -1, 3, 1, -1, 2, 6) 
Press enter after each number, of course.

5) You will see your system on the display. 

6) Press ENTER

7) You will get a simplified system which is the answer.
(in our case you will get: 
 X+Z=5
 Y-Z=-1
there Z is a Real number t.
That means that answer is (X,Y,Z)=(5-t,-1+t,t). 


Observe that number of equations can not be greater that number of variables. 

prgmEQSYSTEM can handle up to 27 equations with 27 variables. 
prgmEQUSYSTEM uses matrix [D] and [E]. If you want to solve big systems it can 
occupy a lot of your memory. Delete matrix's afterwards. 

The file EQSYSTEM.83g contains: 
-prgmEQSYSTEM the main program
-prgmZEQSUB the subroutine. 

EQSYSTEM is SOS and AShell compatible.


If you have any suggestions or comments please e-mail me on
saka@hotmail.com

