Description
Please follow the instruction and write a matlab program to answer the three questions. All the requirements are attached in the document.
Unformatted Attachment Preview
Purchase answer to see full attachment
Explanation & Answer
Hi, here is your assignment with matlab file,,if you have questions, please let me know.
Math 105LA Computer Assignment 6
Due Sun Dec 6
Question 1:
Matlab code:
% Part a: the exact solution of the system
A=[4 -1 0;-1 4 -1;0 -1 4];
b=[-1;4;-5];
fprintf('exact solution is')
x=linsolve(A,b)
%Part b: Let T? is the iteration matrix for the SOR method applied to
%the above linear system.What is the o...