function y = recurtd(x)
%  simple example of a recursive function
y=x
if y >=2
  y=recurtd(y/2);
end

