Question: Question 1: Tridiagonal linear systems (6 points) a) Change the assignment of cols and row_ii used in GE, and row_ii used in BS in the

Question 1: Tridiagonal linear systems (6 points) a) Change the assignment of cols and row_ii used in GE, and row_ii used in BS in the MyEfficientGEwBS.m code such that it becomes an efficient TriDiagonalSolver (i.e. does not perform row operations on elements that are known to be zero). Provide your code. State why TDMA.m is still superior to your new Tridiagonal solver. b) Find the solution value of xy for the tridiagonal system shown below. 5-2 1 -0.57 1 -2 1 1 -2 1 1 -2 1 | X, -1.5 1 -2] LX10 [ +0.5 c) For the system in part (b), complete the table below Storage requirement for A (order of) Operations to solve Tridiagonal Solver Nave GE with BS Question 1: Tridiagonal linear systems (6 points) a) Change the assignment of cols and row_ii used in GE, and row_ii used in BS in the MyEfficientGEwBS.m code such that it becomes an efficient TriDiagonalSolver (i.e. does not perform row operations on elements that are known to be zero). Provide your code. State why TDMA.m is still superior to your new Tridiagonal solver. b) Find the solution value of xy for the tridiagonal system shown below. 5-2 1 -0.57 1 -2 1 1 -2 1 1 -2 1 | X, -1.5 1 -2] LX10 [ +0.5 c) For the system in part (b), complete the table below Storage requirement for A (order of) Operations to solve Tridiagonal Solver Nave GE with BS
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
