Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Medical Audit In Primary Health Care

Authors: Martin Lawrence, Theo Schofield

1st Edition

0192622676, 978-0192622679

More Books

Students also viewed these Accounting questions

Question

=+i. Approximately 95% of the time, will be within _____ of m.

Answered: 1 week ago

Question

8. Do the organizations fringe benefits reflect diversity?

Answered: 1 week ago

Question

7. Do the organizations social activities reflect diversity?

Answered: 1 week ago