Question: Prefer using Matlab, paste the code in the entry box thanks so much. This project computes the two largest eigenvalues of a 50x50 matrix. You

Prefer using Matlab, paste the code in the entry box thanks so much.

Prefer using Matlab, paste the code in the entry box thanks so

This project computes the two largest eigenvalues of a 50x50 matrix. You will use the usual Power Method to compute the largest eigenvalue. For the next largest eigenvalue, you can use an Annihilation or Deflation or Shifting technique discussed in class and also in our book. The matrix A is tridiagonal. Its main diagonal has ones on it. The super diagonal (the diagonal above the main diagonal) has negative-ones on it. The sub-diagonal (below the main diagonal) has negative-ones also. Our starting vector x, has all ones. Our tolerance is 0.01. Turn in the following on one page 1) Draw Gershgorin Circles that contain the eigenvalues of A. 2) Based on part (1), what is the spectral radius of A. Print your answer here: 3) With a starting vector x = [1 1 1 1....1]", apply the usual power method to estimate Nmax , the dominant- eigenvalue of matrix A. Use a tolerance of 0.01. Print your answer with 4 decimals: 4) Print the number of iterations required to converge. 5) Use the deflation technique discussed in class to compute the second largest eigenvalue. Tolerance = 0.01 Print the second largest eigenvalue with 4 decimals: 6) Print the number of iterations required to converge. 7) Print your computer program here. As discussed in class, the main body of your program is 3 lines, so your program should not be long. This project computes the two largest eigenvalues of a 50x50 matrix. You will use the usual Power Method to compute the largest eigenvalue. For the next largest eigenvalue, you can use an Annihilation or Deflation or Shifting technique discussed in class and also in our book. The matrix A is tridiagonal. Its main diagonal has ones on it. The super diagonal (the diagonal above the main diagonal) has negative-ones on it. The sub-diagonal (below the main diagonal) has negative-ones also. Our starting vector x, has all ones. Our tolerance is 0.01. Turn in the following on one page 1) Draw Gershgorin Circles that contain the eigenvalues of A. 2) Based on part (1), what is the spectral radius of A. Print your answer here: 3) With a starting vector x = [1 1 1 1....1]", apply the usual power method to estimate Nmax , the dominant- eigenvalue of matrix A. Use a tolerance of 0.01. Print your answer with 4 decimals: 4) Print the number of iterations required to converge. 5) Use the deflation technique discussed in class to compute the second largest eigenvalue. Tolerance = 0.01 Print the second largest eigenvalue with 4 decimals: 6) Print the number of iterations required to converge. 7) Print your computer program here. As discussed in class, the main body of your program is 3 lines, so your program should not be long

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