Question

Please do question 5 for me. Thanks

Question 1 (10 marks) For a linear system Ax- b with 1 0 -1 A-1 2-1 2 -1 3 b=14 18 and compute by hand the first four iterati

Question 3 For the same linear system as in Question 1, compute by hand the first only iteration with the relaxation method,Question 5 (10 marks) Using any programming language, implement the algorithms for Jacobi, Gauss-Seidel and relaxation method

Question 1 (10 marks) For a linear system Ax- b with 1 0 -1 A-1 2-1 2 -1 3 b=14 18 and compute by hand the first four iterations with the Jacobi method, using x()0 Hint: for the ease of calculation, keep to rational fractions rather than decimals Question 2 For the same linear system as in Question 1, compute by hand the first three iterations (10 marks) with the Gauss Seidel method, using X(0)-0. Hint: for the ease of calculation, keep to rational fractions rather than decimals
Question 3 For the same linear system as in Question 1, compute by hand the first only iteration with the relaxation method, choosing the relaxation parameter w = 0.5 and using x(0)-0. Hint: for the answer, retain rational fractions rather than decimals (5 marks)
Question 5 (10 marks) Using any programming language, implement the algorithms for Jacobi, Gauss-Seidel and relaxation methods (do not submit the code) and use it for the following questions: (a) With each method, solve the system used in Questions 1-3 to a relative precision i lx'k+1)-X(k) 〈 10-4, and find out how many iteration steps x)x(k) x(k+D for supremum norm were required with each method. (b) With a restriction to one-digit (0.x) precision for w, figure out its optimal value in the range from 0.1 to 0.9 for the problem in Question 3.
0 0
Add a comment Improve this question Transcribed image text
Answer #1

1 2 n) 2 ズ3 2412-2-2 2. (9) R8 16 16/3(3) 4

Add a comment
Know the answer?
Add Answer to:
Question 1 (10 marks) For a linear system Ax- b with 1 0 -1 A-1 2-1 2 -1 3 b=14 18 and compute by...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Question 1 (10 marks) For a linear system Ax b with 1 0-1 A-1 2-1 2-13 and b4 18 compute by hand ...

    Question 1 (10 marks) For a linear system Ax b with 1 0-1 A-1 2-1 2-13 and b4 18 compute by hand the first four iterations with the Jacobi method, usg0 Hint: for the ease of calculation, keep to rational fractions rather than decimals. (10 marks) Question 2 For the same linear svstem as in Question 1. compute by hand the first three iterations with the Gauss Seidel method, us0 Hint: for the ease of calculation, keep to rational fractions...

  • just 1,2,4 Problem 1 Consider the linear system of equations Ax = b, where x €...

    just 1,2,4 Problem 1 Consider the linear system of equations Ax = b, where x € R4X1, and A= 120 b = and h= 0.1. [2+d -1 0 0 1 1 -1 2+d -1 0 h2 0 -1 2 + 1 Lo 0 -1 2+d] 1. Is the above matrix diagonally dominant? Why 2. Use hand calculations to solve the linear system Ax = b with d=1 with the following methods: (a) Gaussian elimination. (b) LU decomposition. Use MATLAB (L,...

  • 1" (20%) (Linear systems) Given a linear system C1 +33 2 One can convert it into an iterative for...

    Relevant Information: 1" (20%) (Linear systems) Given a linear system C1 +33 2 One can convert it into an iterative formula x(n+1) TX(m) + c where X(n) = (a (n),X(n), a (n))t įs the approximated solution at the nth iteration, T3x3 is the iterative matrix and caxi is the vector associated with the correspondent iterative method. (a) (5 %) Compute the associated matrix T and vector c associated with Jacobi method. (b) (5 %) Compute (T) and determine if Jacobi...

  • 1. [12 marks] In the following parts of this question, write a MATLAB code to solve a linear syst...

    1. [12 marks] In the following parts of this question, write a MATLAB code to solve a linear system A b (A is a square nonsingular matrix) using Jacobi and Gauss-Seidel algorithms. Do not use the built-in Matlab functions for solving linear systems (a) Write a Matlab function called Jacobi that consumes a square n x n matrix A, and an n x 1 vector b, and uses the Jacobi technique to solve the system Ax-b, starting with the zero...

  • [-230; -1-2 3; 01-21 *X [160 -40 -160]AT Compute vector X using the following methods a) Jacobi m...

    [-230; -1-2 3; 01-21 *X [160 -40 -160]AT Compute vector X using the following methods a) Jacobi method; up to 12 iterations b) Forward Gauss Seidel method; up to 12 iterations c) Symmetric Gauss Seidel method; up to 12 iterations (6 forward and 6 backward iterations) You can use MATLAB to report the final results. However, it is required to calculate at least 3 iterations by hand. You are also expected to compute the spectral radius of the decisive matrix...

  • plz show all steps 3. Consider the linear system of equations 21-62-33-38 22T3 initial guess r0,0,apply, by hand, the J...

    plz show all steps 3. Consider the linear system of equations 21-62-33-38 22T3 initial guess r0,0,apply, by hand, the Jacobi iteration until the approx- imate relative error falls below 7%. b) With the same initial guess as in a), solve the system using Gauss-Seidel method. 3. Consider the linear system of equations 21-62-33-38 22T3 initial guess r0,0,apply, by hand, the Jacobi iteration until the approx- imate relative error falls below 7%. b) With the same initial guess as in a),...

  • Consider the linear system 5x1 - 21 + X1 - 22 + x3 = 1 5.22...

    Consider the linear system 5x1 - 21 + X1 - 22 + x3 = 1 5.22 - 23 = 2 22 5 5x3 = 3 (a) Discuss the convergence of the iterative solutions of this system generated by the Jacobi and Gauss-Seidel methods, by considering their iterative matrices. (b) If both methods converge, which one of them converges faster to the exact solution of this system? (c) Starting with the initial approximation x(0) = [0,0,0], find the number of iterations...

  • 3 Linear systems 18. Solve the linear system of equations using the Naive Gauss elimination metho...

    3 Linear systems 18. Solve the linear system of equations using the Naive Gauss elimination method x,+x: + x) = 1 +2x, +4x1 x 19. Solve the linear system of equations using the Gauss elimination method with partial pivoting 12x1 +10x2-7x3=15 6x, + 5x2 + 3x3 =14 24x,-x2 + 5x, = 28 20. Find the LU decomposition for the following system of linear equations 6x, +2x, +2, 2 21. Find an approximate solution for the following linear system of equations...

  • rx2 has 0 coefficient in the first equation QUESTION 2 Consider the linear system 11 +...

    rx2 has 0 coefficient in the first equation QUESTION 2 Consider the linear system 11 + 0.5X1 T1 12 0.5x2 + 13 0.25x3 X3 0.2 -1.425 2 = whose solution is (0.9, -0.8,0.7). (a) Determine whether the coefficient matrix is strictly diagonally dominant. (b) Approximate the solution of the system by performing two iterations of the Gauss-Seidel algorithm, using x(0) = (0,0,0)t as the initial guess. (c) Approximate the solution of the system using one iteration of the SOR scheme,...

  • Homework4 Solve the following problems in form of report using Microsoft word format. Three students per...

    Homework4 Solve the following problems in form of report using Microsoft word format. Three students per report. The names and student no. are to be declared. Due date Mo. 26.03.2020 12:00 PM Solve the following system of linear equations: [ 0.8 -0.4 011 (41 -0.4 0.8 -0.41*2} = 25 0 -0.4 0.8 |(x3) (105) (1) Using the Gauss-Seidel iterative method until the percent relative error falls below Ea < 5% (2) With Gauss-Seidel using overrelaxation (1 = 1.2)until En 5%...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
Active Questions
ADVERTISEMENT