function [up, down] = poradi(n)
    up = 0.0;
    down = 0.0;
    for i = 1:n,
       up = up + clen(i); 
    end
    for i = n:-1:1,
       down = down + clen(i); 
    end 


end

function c = clen(i)
    c = i^(1.1);
end

