function res = trouve(x,v,ep,w)

n = length(v);
r = [];

if n ==0
    r = [];
elseif abs(x-v(1))<=ep
    r = [w(:,1)];
else
   r = trouve(x,head(v),ep,headm(w));
end



res = r;

end

