4) A) Write a simple code to solve the system with MATLAB. (Use matrix division) 3 2 11 x1 79 5 18 3 x2 = 99 22 3 12 17 x3 139 B) Apply Gaussian elimination by hand and find the exact solution. C) Write a simple code to solve this system with LU decomposition in MATLAB and check the result by using the norm for Ax=b.

Algebra for College Students
10th Edition
ISBN:9781285195780
Author:Jerome E. Kaufmann, Karen L. Schwitters
Publisher:Jerome E. Kaufmann, Karen L. Schwitters
Chapter12: Algebra Of Matrices
Section12.3: M X N Matrices
Problem 49PS
icon
Related questions
Question

pls help me

4) A) Write a simple code to solve the system with MATLAB. (Use matrix division)
3
2 11
x1
79
5 18
3
x2
=
99
3 12 17
x3
139
B) Apply Gaussian elimination by hand and find the exact solution.
C) Write a simple code to solve this system with LU decomposition in MATLAB and check the result by
using the norm for Ax=b.
[5]
D) Apply 3 steps of Jacobi iteration by hand with x = 2. Find the absolute error.
E) Apply 3 steps of Gauss-Seidel iteration by hand with x0 = 2. Find the absolute error.
Transcribed Image Text:4) A) Write a simple code to solve the system with MATLAB. (Use matrix division) 3 2 11 x1 79 5 18 3 x2 = 99 3 12 17 x3 139 B) Apply Gaussian elimination by hand and find the exact solution. C) Write a simple code to solve this system with LU decomposition in MATLAB and check the result by using the norm for Ax=b. [5] D) Apply 3 steps of Jacobi iteration by hand with x = 2. Find the absolute error. E) Apply 3 steps of Gauss-Seidel iteration by hand with x0 = 2. Find the absolute error.
Expert Solution
steps

Step by step

Solved in 5 steps with 42 images

Blurred answer
Recommended textbooks for you
Algebra for College Students
Algebra for College Students
Algebra
ISBN:
9781285195780
Author:
Jerome E. Kaufmann, Karen L. Schwitters
Publisher:
Cengage Learning
Linear Algebra: A Modern Introduction
Linear Algebra: A Modern Introduction
Algebra
ISBN:
9781285463247
Author:
David Poole
Publisher:
Cengage Learning
College Algebra
College Algebra
Algebra
ISBN:
9781938168383
Author:
Jay Abramson
Publisher:
OpenStax
College Algebra (MindTap Course List)
College Algebra (MindTap Course List)
Algebra
ISBN:
9781305652231
Author:
R. David Gustafson, Jeff Hughes
Publisher:
Cengage Learning
Intermediate Algebra
Intermediate Algebra
Algebra
ISBN:
9780998625720
Author:
Lynn Marecek
Publisher:
OpenStax College
Elementary Linear Algebra (MindTap Course List)
Elementary Linear Algebra (MindTap Course List)
Algebra
ISBN:
9781305658004
Author:
Ron Larson
Publisher:
Cengage Learning