function res = appartient( x,v )

l = length(v);
b = 0;
for k = 1:l 
    if v(k) == x
        b=1;
    else b = b+0;
    end
    
    
res=b;

    

end

