You are on page 1of 4

University M'hamed Bougara, Boumerdes.

Institute of Electrical and Electronics


Engineering.

Numerical Methods.
EE-472: Lab.

Experiment 03:
Gauss Elimination

Done by:
BOT Mohammed.
OULD AMARA Massil.

Option: Control. Supervisor:


Subgroup: 01. Mr.Metidji.

2017/2018

1. Introduction:
Solving systems of simultaneous linear equations is vital in engineering. A system of linear
equations may result from analyzing any coupled system where a number of states are internally
related to each other in which decoupling the equations is not a choice. Furthermore, if the system
has a huge number of states, then the complexity of the solutions and the complexity of finding them
will increase dramatically. For these reasons, the use of numerical methods is widely considered while
proposing a solution for these type of problems.

2. Objectives:
The aim of this laboratory experiment is to solve the system of equations:
0.34𝑥1 − 0.58𝑥2 + 0.94𝑥3 = 2.0
{0.27𝑥1 + 0.42𝑥2 + 0.134𝑥3 = 1.5
0.20𝑥1 − 0.51𝑥2 + 0.54𝑥3 = 0.8
and
2𝑥1 − 2𝑥2 + 5𝑥3 = 13
{2𝑥1 + 3𝑥2 + 4𝑥3 = 20
3𝑥1 − 𝑥2 + 3𝑥3 = 10

using Gauss Elimination method.

3. Programing part:

3.1. First example:


0.34𝑥1 − 0.58𝑥2 + 0.94𝑥3 = 2.0
{0.27𝑥1 + 0.42𝑥2 + 0.134𝑥3 = 1.5
0.20𝑥1 − 0.51𝑥2 + 0.54𝑥3 = 0.8

3.2. Second example:


2𝑥1 − 2𝑥2 + 5𝑥3 = 13
{2𝑥1 + 3𝑥2 + 4𝑥3 = 20
3𝑥1 − 𝑥2 + 3𝑥3 = 10
4. Conclusion:
In this lab, we have seen the Gauss elimination method used to solve a system of linear
equations. This method can also be used to find the rank of a matrix, to calculate the determinant of
a matrix, and to calculate the inverse of an invertible square matrix.

You might also like