function value = trig ( x )

%*****************************************************************************80
%
%% trig evaluates a trigonometric function.
%
%  Discussion:
%
%    There is a root between 0 and 1.
%
%  Licensing:
%
%    This code is distributed under the GNU LGPL license.
%
%  Modified:
%
%    21 September 2019
%
%  Input:
%
%    real x, the argument.
%
%  Output:
%
%    real value, the function value.
%
  value = cos ( x ) - x;

  return
end

