for i = 1:10, X = A*X; N = norm(X); X = X/N; printf("N = %f, X = [%f; %f; %f], i = %d\n", N, X(1,1), X(2,1), X(3,1), i); end;