0% found this document useful (0 votes)
6 views7 pages

Experiment No. 5: Implementation of Gauss Sidel Method For Solution of Equations

The document outlines Experiment No. 5, which focuses on implementing the Gauss-Seidel method for solving systems of linear equations. It explains the theory behind the method, its advantages over the Gauss-Jacobi method, and provides an example equation. The lab task involves using MATLAB to find solutions for specific equations using this iterative technique.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views7 pages

Experiment No. 5: Implementation of Gauss Sidel Method For Solution of Equations

The document outlines Experiment No. 5, which focuses on implementing the Gauss-Seidel method for solving systems of linear equations. It explains the theory behind the method, its advantages over the Gauss-Jacobi method, and provides an example equation. The lab task involves using MATLAB to find solutions for specific equations using this iterative technique.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 7

Experiment No.

Implementation of Gauss Sidel Method for Solution of Equations


Objective

To learn basic coding for implementation of Gauss Sidel method.

Theory

The Gauss-Seidel method is a popular iterative technique used for solving systems of linear
equations, particularly when dealing with large systems or sparse matrices where direct methods like
Gaussian elimination become inefficient. It is an improvement over the Gauss-Jacobi method and is
especially useful in engineering and numerical simulations.

In this method, the equations of the system are rewritten to express each variable in terms of the
others. During the iteration process, the values of the variables are updated sequentially. Unlike the
Gauss-Jacobi method, which uses only the values from the previous iteration, the Gauss-Seidel
method uses the newly updated values immediately as soon as they are computed within the same
iteration. This generally leads to faster convergence.

Example:
2 x−lnx=7

MATLAB simulations and its output


Output
Lab Task: Implement the iterative method to find the solution of following equations.

x=0.7 sinx+ 0.2cosy


y=0.7 cosx +0.2 siny
Student’s Comments

Lesson Learnt

You might also like