Question: Problem 8 / Recitation Consider the system of linear equations A% = b, where A is a 50x50 matrix containing random numbers (generate by A

Problem 8 / Recitation Consider the system of linear equations A% = b, where A is a 50x50 matrix containing random numbers (generate by A = rand(50,50) ;) and b is a column vector containing 50 entries, all of them 1 (generate by b = ones(50,1) ;). For 5 different random number matrices A do the following tasks without pivoting: a) Calculate the condition number of A using the infinity norm without pivoting (use the function myCondInfNoPivot from problem 7). Store the condition number for each of the 5 matrices A in an array c. b) Solve the system for & using Gauss-Jordan without pivoting using the function myGaussJordanlNoPivot from problem 2. Calculate the infinity norm of the residual using myInfNorm developed in problem 5. To calculate the residual, use the Matlab construct A*x to calculate AZ. Store the infinity norm of the residual for each of the b solutions in an array ri. Provide a printout using at least 15 digits of the infinity norm condition number and infinity norm of the residual for each of the 5 matrices. Problem 8 required submission: (0 Printout of well commented seript you coded included in your Gradescope submission; O Printout of condition numbers and residual norms using the infinity norm with at least 15 digils
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
