metodos interactivos

7
INTERACTIVE METHODS

Upload: robinson

Post on 02-Aug-2015

494 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Metodos interactivos

INTERACTIVE METHODS

Page 2: Metodos interactivos

Method of Jacobi and Gauss-Seidel

CONCEPT OF SYSTEM OF LINEAR EQUATIONS.System of m equations with n unknowns. It is a set of algebraic expressions of the form

Two numerical methods, which allows us to find solutions to systems with the same number of equations as unknowns.

In both methods the following process is done with a little variation on Gauss-Seidel

We have these equations:

Page 3: Metodos interactivos

1. Solve each of the unknowns in terms of the others.

2. Give initial values to the unknowns

Page 4: Metodos interactivos

By Jacobi:Replace in each equation the initial values, this will give new values to be used in the next iteration

For Gauss-SeidelReplace the values in each equation but found next.

It performs many iterations you want, using as initial values the new values found. You can stop the execution of the algorithm to calculate the error of calculation, which we can find with this formula: sqr ((x1-x0) ^ 2 + (y1-y0) ^ 2 + (z1-z0) ^ 2)

Page 5: Metodos interactivos

With jacobi

Page 6: Metodos interactivos

With Gauss-Seidel

Page 7: Metodos interactivos

The main difference is that the method of gauss_seidel uses the values found immediately, then makes the whole process faster, and consequently makes this a more effective method.

The formulas used in the excel sheet for the method of Jacobi is

Corresponding to the variable X, Y, Z and failure respectively.And to the Gauss-Seidel: