Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Show what Matlab code you need to solve with (a)the Jacobi Method and (b) the Gauss Seidel Method the following linear system Ax = b

Show what Matlab code you need to solve with (a)the Jacobi Method and (b) the Gauss Seidel Method the following linear system Ax = b to within 10-5 in the linfinity norm, where the entries of A are

ai,j = 2i when j = i and i = 1,2 ...80,

0.5i when j = i +2 and i = 1,2...78,

j= i - 2 and i = 3,4...80

0.25i when j= i + 4 and i = 1,2...76,

j= i - 4 and i = 5,6...80

0 otherwise

I understand the Matrix is going to look like

A = 2, 0, 0.5, 0, 0.25, ....

0, 4, 0, 1, 0, .5, 0....

1.5, 0, 6, 0, 1.5, 0...

0, 2, 0, 8, 0, 0.....

1.25, 0, 2.5, 0, 10, 0 ....

0, 1.5, 0, 3, 0, 12...

and so on until i = 80. I just do not know how to put this huge Matrix into Matlab and find how many iterations I would need for the Jacobi and Gauss-Seidel Methods

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

MFDBS 89 2nd Symposium On Mathematical Fundamentals Of Database Systems Visegrad Hungary June 26 30 1989 Proceedings

Authors: Janos Demetrovics ,Bernhard Thalheim

1989th Edition

3540512519, 978-3540512516

More Books

Students also viewed these Databases questions

Question

10.

Answered: 1 week ago