The Seidel-Gauss method. International method
The Seidel method (the second name is Gauss-Seidel)Is a classical international method, by means of which it is possible to solve various systems of linear equations. Now we will talk about this in more detail.
The essence of the work
This method is a kind of simplified modification of the Jacobi method. Innovation is that the new value ((i) is used immediately after receipt, and not afterthe next iteration. In addition, the conditions for convergence and termination are clearly defined, the violation of which leads to an incorrect answer of the equation. The Seidel method, the example of which we provided in the picture, not only simplifies the decision process, but also accelerates it. Therefore, it is actively used by programmers to create and solve complex systems.
Seidel's method. "Pascal"
No programmer can do withoutmathematical formulas and equations. And this means that Seidel's method is actively used in the program "Pascal" to gain experience with robots with basic elements. It all looks pretty simple: a new document is created in the program sheet, the equation condition and its boundaries are introduced from the very beginning, then additional removable elements are explained (subject to availability), then a compatibility test is prescribed. If it is positive, then the solution algorithm itself is output, and only then the derivation of the roots. Equations can include several decision steps, each part of which has its own algorithm, mandatory composite, replaceable elements and basic formulas. All this is recorded exclusively in English, without possible analogues. The solution of the equation will be output as a finished formula or number after saving all the data.
The Seidel method is also widely used inprogram "C ++", but here everything is quite different than in "Pascal". The equation in "C ++" does not begin with the condition of the entire task, but with the condition of the end, which is prescribed in three or four stages with a final output of the result. Further, the decision itself is prescribed using this method, describing in detail all the unknowns, after which a formula is derived in order to prove the equality between the two results of the equation. The condition is that each value of the previous one is necessary for the solution of the next. Accounts are also maintained in English, which can not be replaced. "C ++" is much more complicated than "Pascal", therefore, without basic knowledge, it should not be used initially.
Let's sum up the results
So, Seidel's method is a special way,thanks to which it is possible to solve systems of linear equations of any complexity. Most often it is basic for programs such as "Pascal" and "C ++". This is a kind of improved modification of the Jacobi method, which excludes the use of additional formulas, but it has clear conditions for convergence and termination. Strictly established criteria simplify the whole process of work, because if one of the conditions is not met, the program, either "Pascal" or "C ++", simply refuses to solve the problem further.