MATH/COSC 303 Assignment 2 – part B solution

$20.00

Original Work ?

Download Details:

  • Name: Assignment_2b.zip
  • Type: zip
  • Size: 79.03 KB

Category: You will Instantly receive a download link upon Payment||Click Original Work Button for Custom work

Description

5/5 - (4 votes)

Computer Assisted Questions:
2. Consider the linear system
x1 + x2 + 9×3 = 11
−6×1 + x2 − x3 = −6
x1 − 5×2 + x3 = −3
• Reorder the system to create an equivalent system that is diagonal dominant.
• Write a MATLAB script to solve the system using the Jacobi Iterative Method starting
at x
0 = (0, 0, 0). How many iterations are required to acquire 5 significant digits?
• Write a MATLAB script to solve the system using the Gauss Seidel Iterative Method
starting at x
0 = (0, 0, 0). How many iterations are required to acquire 5 significant
digits?