Question: Plotting Eigenvalues

Can anyone please help a novice?

I am trying to acquire eigenvalues from a matrix over a range of values of "k" and then plot the eigenvalue points on a graph. Can any one help with the code? Especially for the do loop and plotting the graph.

Here is my matrix:

C:=linalg[matrix](2, 2, [9*(1-k), 4*k, -4*k, 2*(1-k)]);

So I want a list of all the matrices with values of k from 0 to 1 by 0.01(or 0.05 if it makes it easier!) increases. Then work out the eigenvalues for each of these matrices. Finally, I would like to plot all these values on a graph.

Any help would be appreciated!

Thanks

 

Please Wait...