Question: Please solve using Wolfram Mathematica coding: Suppose A is a 50 x 50 tridiagonal matrix with entries a ii =0.5 on the diagonal, a i,i-1

Please solve using Wolfram Mathematica coding:

Suppose A is a 50 x 50 tridiagonal matrix with entries aii=0.5 on the diagonal, ai,i-1= ai,i+1=0.25 on the super diagonal and sub diagonal and zeros elsewhere. Take b to have ith entry equal to 1/i. Starting with x0=(1,1,.,1)

Write a program using the Gauss-Siedel method to the 50 x 50 tridiagonal matrix. 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? Use the solution from Gaussian elimination to calculate the relative normed error.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Accounting Questions!

Q:

\f