Solution Found!
[M] Let A be as in Exercise 9. Use the inverse power
Chapter 5, Problem 18E(choose chapter or problem)
[M] Let A be as in Exercise 9. Use the inverse power method with to estimate the eigenvalue of A near with an accuracy to four decimal places.Reference:[M] Exercises 7–12 require MATLAB or other computational aid. In Exercises 7 and 8, use the power method with the x0 given. List In Exercises 9 and 10,
Questions & Answers
QUESTION:
[M] Let A be as in Exercise 9. Use the inverse power method with to estimate the eigenvalue of A near with an accuracy to four decimal places.Reference:[M] Exercises 7–12 require MATLAB or other computational aid. In Exercises 7 and 8, use the power method with the x0 given. List In Exercises 9 and 10,
ANSWER:Solution 18EStep 1 The objective is to estimate the middle eigenvalue near to : Use MATLAB to find the list.Code for MATLAB:function [v,lamda] = IPM(B,tol)tic;A=inv(B);n=size(A,1);v=rand(n,1);v=v/norm(v);res=1;while (res > tol)W= A*v;lamda=max(abs(W));v= W/lamda;res=norm(A*v-lamda*v);tocend