Linear Equations

This section consists of a number of programs to solve a set of linear equations of the form:

a1*x1+a2*x2+....+an*xn=C, where the an’, and C are constants.

An example would be, find the solution x1, x2, x3 of::

x1+2*x2+3*x3=4

3*x1+6*x2=0

-3*x1+4*x2-2*x3=0

OK, this one was simple (and a good test case):

x1 = 8, x2 = 4, x3 = -4

Guassian Elimination Method

Compact Crout Method