Path: blob/master/activities/gauss-jordan.ipynb
934 views
Task 8
This homework is an activity intended to apply the methods to solve systems of equations given in class. The objective is to solve a simple circuit problem by using a modification of the Gaussian Elimination method, called Gauss-Jordan method.
Due to: Feb 22
Gauss-Jordan Method
As covered during class, Gaussian Elimination is a procedure where any augmented matrix (associated to a soluble problem with equations and unknows) is converted to an equivalent upper diagonal system:
ParseError: KaTeX parse error: Undefined control sequence: \matrix at position 8: \left[ \̲m̲a̲t̲r̲i̲x̲{ a_{11} & a_{1…At this point, the solution is easily obtained through the formulas:
However, a more direct way to find the solution is to reduce the matrix even more, such that the next diagonal form of the matrix is obtained:
ParseError: KaTeX parse error: Undefined control sequence: \matrix at position 8: \left[ \̲m̲a̲t̲r̲i̲x̲{ a_{11} & 0 & …and the solution is just given by:
1. Starting from an upper diagonal and augmented matrix, describe the necessary steps to obtain an equivalent matrix in a complete diagonal form (Gauss-Jordan method).
2. Using the next routine Gaussian_Elimination
, creates a new routine called Gauss-Jordan
that computes the diagonal form of any given matrix along with the solution vector . Use algorithm of the previous item.
Kirchhoff's Law of Circuits
Using Kirchhoff's law, it is possible to solve the currents .
The next system of equations is obtained:
3. Rewrite this problem using matrix notation. Construct the augmented matrix and solve the problem using the previous routine Gauss-Jordan
.