# The Linear Equation Solver

### Solving a linear equation system of up to 20 unknowns.

If you need some help please scroll down to the example. If not, fill the 2 boxes below , then click on the "Go" button.

Number of equations/unknowns ( 20 max ) :

Coefficients of equation systems

### Example

As an example, let's say you have the following 3 equations to solve for the unknowns x , y , and z :

2x + 3y + 1/3z = 10
3x + 4y + 1z = 17
2y + 7z = 46

To enter the above system into the matrix solver you enter the number "3" into the small box for the number of unknowns/equations.

Into the big box for the coefficients you enter the following numbers :

```2  3  1/3  1.0e+1
3  4   1   17
0  2   7   46.0
```

Notice that each row represents one equation. Observe that the non-occurrence of a variable in an equation is indicated by the appearance of a zero for its coefficient, see last equation and last row of coefficients entered.

Note, that for the coefficients you may enter either whole numbers ( like 2 ), fractions of whole numbers ( like 1/3 ), numbers with a decimal point ( like 46.0 ), or numbers in scientific notation ( 1.0e+01 which is the same as 10 ).

After entering all numbers click on the "Go" button. A new page will appear with the solution represented as a column of numbers. The first number is the solution for "x" , the second for "y" , the third for "z" etc. Like :

1
2
6

You may check the solution :

2(1) + 3(2) + 1/3(6) = 10
3(1) + 4(2) + 1(6) = 17
0(1) + 2(2) + 7(6) = 46
Which checks out. Last revised: 09/11/13