This JavaScript program is designed to dynamically generate
an input matrix that represents a system of linear equations. Once the
values have been entered the system can be solved by clicking on "Solve
System" and the system will be shown in a separate window!
Directions:
-
Enter the number or rows
-
Enter the number of columns
-
IMPORTANT: You must have the same number of equations as
unknowns (i.e. n rows & n+1 columns)
-
Click on "Generate Input Form" to create empty matrix
-
Enter the values of the coefficients (last column is the
answer)
-
Choose "Scale" to decrease the error when values vary by
large amount (i.e. 0.00765 & 345.44)
-
Choose "Pivot" to decrease the error if the coefficients
do not have the largest value from each row in the diagonal (this algorithm
row swaps automatically).
-
Click on "Solve System" to display the values of your unknowns!
Notes:
-
The "Choose method for solving" section has only one algorithm
however the other two empty algorithms can be used to view the results
of the "Scale" and "Pivot" algorithms.