Use the Gauss-Seidel method (a) without relaxation and (b) with relaxation
(a)
To calculate: The solution of following system of equation with Gauss-Seidel method without relaxation to a tolerance of
Answer to Problem 12P
Solution:
Using Gauss-Seidel method four iterations are performed to get the values
Explanation of Solution
Given Information:
A system of equation:
With
Formula used:
(1) The values of
(2) Convergence can be checked using the criterion
For all i, where j and j- 1 are the present and previous iterations.
Calculation:
Consider the system of equation:
The sufficient condition for convergence is:
If the diagonal coefficient of each equations is greater than the sum of the absolute values of the other coefficients present in the equation. The systems where this condition holds are called diagonally dominant.
Thus, the firstarrange the equation so that theywill be diagonally dominant.
It can be written in the form:
Where,
First, solve the equations for its unknown and find the value of
For initial guess, assume
Thus, equation (1) becomes,
Substitute the value of
Now, substitute the calculated values of
For the second iteration, the same process is repeated with
The value of
Now, substitute the calculated values of
Now, the error can be computed as:
For the third iteration, the same process is repeated with
The value of
Now, substitute the calculated values of
Now, the error can be computed as:
For the fourth iteration, the same process is repeated with
The value of
Now, substitute the calculated values of
Now, the error can be computed as:
Thus, after four iterations the maximum error is 0.13% which is less than
(b)
To calculate: The solution of following system of equation with Gauss-Seidel method withrelaxation
Answer to Problem 12P
Solution:
Using Gauss-Seidel method four iterations are performed with relaxation
Explanation of Solution
Given Information:
A system of equation:
With relaxation
Formula used:
(1) The values of
(2) Relaxation:
Where
(3) Convergence can be checked using the criterion
For all i, where j and j- 1 are the present and previous iterations.
Calculation:
Consider the system of equation:
If the diagonal coefficient of each equations is greater than the sum of the absolute values of the other coefficients present in the equation. The systems where this condition holds are called diagonally dominant.
Thus, the first arrange the equation so that they will be diagonally dominant.
It can be written in the form:
Where,
First, solve the equations for its unknown and find the value of
For initial guess, assume
Thus, equation (1) becomes,
Relaxation yields:
Substitute the value of
Relaxation yields:
Now, substitute the calculated values of
Relaxation yields:
For the second iteration, the same process is repeated with
Relaxation yields:
The value of
Relaxation yields:
Now, substitute the calculated values of
Relaxation yields:
Now, the error can be computed as:
For the third iteration, the same process is repeated with
Relaxation yields:
The value of
Relaxation yields:
Now, substitute the calculated values of
Relaxation yields:
Now, the error can be computed as:
Also,
Thus, after four iterations the maximum error is 3.71% which is less than
Want to see more full solutions like this?
Chapter 11 Solutions
EBK NUMERICAL METHODS FOR ENGINEERS
Additional Engineering Textbook Solutions
Math in Our World
Precalculus: Mathematics for Calculus (Standalone Book)
Precalculus
College Algebra (Collegiate Math)
Thinking Mathematically (6th Edition)
Intermediate Algebra (13th Edition)
- Which procedure provides a method that may be used to apply Cstigliano's second theorem?arrow_forwardplease solve both and explain which one is either a seperable linear exact or a substitution and whyarrow_forwardApproximate solution of the initial value problem up to 3rd order using the Taylor series method. find it.arrow_forward
- Please show the complete solution. Thank youarrow_forward3. Using the trial function u¹(x) = a sin(x) and weighting function w¹(x) = b sin(x) find an approximate solution to the following boundary value problems by determining the value of coefficient a. For each one, also find the exact solution using Matlab and plot the exact and approximate solutions. (One point each for: (i) finding a, (ii) finding the exact solution, and (iii) plotting the solution) a. (U₁xx -2 = 0 u(0) = 0 u(1) = 0 b. Modify the trial function and find an approximation for the following boundary value problem. (Hint: you will need to add an extra term to the function to make it satisfy the boundary conditions.) (U₁xx-2 = 0 u(0) = 1 u(1) = 0arrow_forwardi need the answer quicklyarrow_forward
- Solve both show full solutionsarrow_forwardPlease be careful with the decimalarrow_forward(3) For the given boundary value problem, the exact solution is given as = 3x - 7y. (a) Based on the exact solution, find the values on all sides, (b) discretize the domain into 16 elements and 15 evenly spaced nodes. Run poisson.m and check if the finite element approximation and exact solution matches, (c) plot the D values from step (b) using topo.m. y Side 3 Side 1 8.0 (4) The temperature distribution in a flat slab needs to be studied under the conditions shown i the table. The ? in table indicates insulated boundary and Q is the distributed heat source. I all cases assume the upper and lower boundaries are insulated. Assume that the units of length energy, and temperature for the values shown are consistent with a unit value for the coefficier of thermal conductivity. Boundary Temperatures 6 Case A C D. D. 00 LEGION Side 4 z episarrow_forward
- This question Has multiple parts, i need just the Part B solved, Part A is about driving the equation that is mentioned in part a, Use that equation and the table to solve part b, should be simple.arrow_forwardFind the temperature at the interior node given in the following figure 100 °C 75 °C 0 °C 9" %3D 25 °C 6" Using the Lieberman method and relaxation factor of 1.2, the temperature estimated after first iterations is: Select one: а. 60.00 b. 45.19 С. 50.00arrow_forwardEvaluate and show complete solutions: 4 3 -71 5 1 12 1-22 -9 17 7 3 + 12 0 1 8 -2 5 29arrow_forward
- Principles of Heat Transfer (Activate Learning wi...Mechanical EngineeringISBN:9781305387102Author:Kreith, Frank; Manglik, Raj M.Publisher:Cengage Learning