function value = humps_deriv ( x )

%*****************************************************************************80
%
%% humps_deriv() evaluates the derivative of the humps function.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    15 June 2019
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    real X, the argument.
%
%  Output:
%
%    real VALUE, the value.
%
  value = - 1.0 ./ ( ( x - 0.3 ).^2 + 0.01 ).^2 ...
          .* 2.0 .* ( x - 0.3 ) ...
          - 1.0 ./ ( ( x - 0.9 ).^2 + 0.04 ).^2 ...
          .* 2.0 .* ( x - 0.9 );

  return
end
