Question: ( a ) For the following matrix given by 1 4 A = 2 2 , calculate | A | 1 ,
a For the following matrix given by
A
calculate A A Ainfty as well as the condition numbers for each norm by hand. Is A well or poorly conditioned?
b How many flops floating point operations are needed to calculate A and Ainfty for A in Rntimes n assuming that taking the absolute value and determining the maximum does not contribute to the overall computational cost? By what factor will the calculation time increase when you double the matrix size?
c Implement a simple code that calculates A and Ainfty for a matrix of any size n Try to do this without using loops Using system sizes of n nknk k determine how long your code takes to calculate A and Ainfty for a matrix A in Rnitimes ni with random entries and report the results. Do your results confirm your estimate from b
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
