Jumat, 31 Oktober 2008

Solution of Linear Equation System with Cramer Method

Actually to get solution of Linear Equation System, we can do it very easy with Matlab. But, remember if in the past we studied Crammer Method for this. Crammer method given in below :
From that method we can arrange an algorithm :
One : input A and B matrix.

Two : We must know dimension of matrix, because matrix A mus be square and matrix B is one column matrix that sum of row equal to matrix A.

Three : We also must know determinat matrix, because matrix A is not singular.
Four : Find matrix A1 until An, and determinat it self.