function x = random(n,C0,C1)


%function x=random()
% randomly generated element x from X
%len = length(par);
%cislo = rand(1);
x = (C1-C0).*rand(n,1) + C0;


%for i=0:len-1
%    if cislo >= i/len  & cislo <= i+1/len
%        x(length(x)) = par(i+1);
%    end    
%end

