function konvergenceMocninneMetody(A,w0,itMax)

wk = w0; %/norm(w0);
tmp = [];

for i=1:itMax
    wkp1 = A*wk;
    wkp1 = wkp1; %/norm(wkp1);
    tmp = [tmp;(wkp1'*w0)/(wk'*w0) (wkp1'*wk)/(wk'*wk)];
    wk = wkp1;
end

plot(1:itMax,tmp(:,1)','b',1:itMax,tmp(:,2)','r')