%% L9, ti 21.11.06  L9diag.m

A=0.1*[15 6 -12; 4 10 -2; -4 8 -7]
[V,D]=eig(A)
VI=inv(V)

[A,V*D*VI]   % Ovatko samat?

[A^10,V*(D.^10)*VI]  % Samat?

