function value = cosfrac ( x )
  value = 1.0 ./ ( 2.0 + cos ( x ) );
  return
end

