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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started