Set A = round(10 rand(6)) s = ones(6, 1) b = A s The solution of the linear system Ax =

Chapter 7, Problem 1

(choose chapter or problem)

Set A = round(10 rand(6)) s = ones(6, 1) b = A s The solution of the linear system Ax = b is clearly s. Solve the system using the MATLAB \ operation. Compute the error x s. (Since s consists entirely of 1s, this is the same as x 1.) Now perturb the system slightly. Set t = 1.0e12, E = rand(6) 0.5, r = rand(6, 1) 0.5 and set M = A + t E, c = b + t r Solve the perturbed system Mz = c for z. Compare the solution z to the solution of the original system by computing z1. How does the size of the perturbation in the solution compare with the size of the perturbations in A and b? Repeat the perturbation analysis with t = 1.0e04 and t = 1.0e02. Is the system Ax = b well conditioned? Explain. Use MATLAB to compute the condition number of A.

Unfortunately, we don't have that question answered yet. But you can get it answered in just 5 hours by Logging in or Becoming a subscriber.

Becoming a subscriber
Or look for another answer

×

Login

Login or Sign up for access to all of our study tools and educational content!

Forgot password?
Register Now

×

Register

Sign up for access to all content on our site!

Or login if you already have an account

×

Reset password

If you have an active account we’ll send you an e-mail for password recovery

Or login if you have your password back