function value = wiggle ( x )

%*****************************************************************************80
%
%% wiggle evaluates a very oscillatory function.
%
%  Discussion:
%
%    There is a root between 1 and 2.
%
%  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 ( 100.0 * x - 700.0 ) - 4.0 * erf ( 30.0 * x - 31.0 );
  return
end

