Question: 1. We are looking at the system Mx = b with M = 10-14 1 1 ~-(0)-0 2 b = 1 1 1 5

1. We are looking at the system Mx = b with M


1. We are looking at the system Mx = b with M = 10-14 1 1 ~-(0)-0 2 b = 1 1 1 5 (3pts) Compute the solution x to this system with MATLAB's "backslash", GaussianElimination and GaussianEliminationWithRowSwap. b) (3pts) Compute the error of each of the three methods using norm(x-xref) where xref is the analytical solution (what is the exact solution to this system? Compute it by hand!). c) (6pts) Explain the difference in the errors! Why is one of the methods worse than the others? Create a script hw04q1.m containing the steps for a) and b) and write your explanation for c) as a comment in there.

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 Programming Questions!