function prikladJacobiVersGaussSeidel()

prec = 1e-6;

% N = [];
% K = [];
% 
% for i=3:30
i = 30;
    h = 1/i;
    [A,b] = priklad(h);
    
    n = length(b);
    
    u = A\b;

    n = length(b);
    u0 = zeros(n,1);

    [u,k] = Jacobi(A,b,u0,prec,10000);
    k
    [u,k] = GaussSeidel(A,b,u0,prec,10000);
    k

%     [n,k]
%     N = [ N , n ];
%     K = [ K , k ];
% end
%
% plot(N,K)
