Thursday, 20 December 2012

Solving Linear Equations using Gauss Jordan Elimination


  Gauss Jordan elimination is performed on the coefficient matrix to make it a diagonal matrix. Corresponding changes are also made on the product matrix. The method is often used to solve system of linear equations. Elementary row operations are used to obtain the diagonal matrix in Gauss elimination method. The program may fail to produce a result if one of the diagonal elements is reduced to zero, even when there is a solution. In such a case please run the program again after changing the order of the equations entered into the coefficient matrix.

The Figure Given Below Shows the Output for Three Equations in Three Unknown Variables.


Click here to download the C Program to solve Linear Equations by applying Gauss Jordan Elimination.
Click here to download the C++ Program to solve Linear Equations by applying Gauss Jordan Elimination.

3 comments: