Question: Please use mathematica to complete the question. No need for hand written answern The example from the book. 2. Apply the Gauss-Seidel method to the

Please use mathematica to complete the question. No need for hand written answern


The example from the book.
2. Apply the Gauss-Seidel method to the 50 x 50 tridiagonal matrix from the text. Build a corresponding 100 x 100 tridiagonal matrix and apply Gauss-Seidel. How does the size change affect the relative normed error at 50, 500 and 5000 iterations. an example, consider the following. Suppose A is a 50 x 50 matrix. This is so small that there is no difficulty computing the actual solution via Gauss-Jordan elimination, and then the actual error for the Jacobi process. For instance, set A to be tridiagonal matrix with entries Qi, i = 0.5 on the diagonal, Q1, 2-1 = Qi,i+1 = 0.25 on the super diagonal and sub diagonal and zeros elsewhere. Next, take b to have ith entry equal to 1/i. The spectral radius if I - BA is approximately 0.998
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
