Question: Define a function ray_quotient(M,x_0,k) that once again takes a generic matrix M , initial guess x_0 , and integer k , and applies power iteration,
Define a function ray_quotient(M,x_0,k) that once again takes a generic matrix M, initial guess x_0, and integer k, and applies power iteration, normalizing the current eigenvector approximation at each step by the maximum absolute value, and then applies the Rayleigh quotient at the end to to estimate the dominant eigenvalue of M. Your function only needs to return the dominant eigenvalue approximation.
This needs to be done with coding in python.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
