function yp = hump_fp ( x )

%*****************************************************************************80
%
%% hump_fp evaluates the derivative of the hump function.
%
%  Discussion:
%
%    y = 1.0 ./ ( ( x - 0.3 ).^2 + 0.01 ) ...
%      + 1.0 ./ ( ( x - 0.9 ).^2 + 0.04 ) ...
%      - 6.0;
%
%  Licensing:
%
%    This code is distributed under the GNU LGPL license.
%
%  Modified:
%
%    15 June 2019
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    real x(): the arguments.
%
%  Output:
%
%    real yp(): the value of the derivative at x.
%
  yp = - 2.0 .* ( x - 0.3 ) ./ ( ( x - 0.3 ).^2 + 0.01 ).^2 ...
       - 2.0 .* ( x - 0.9 ) ./ ( ( x - 0.9 ).^2 + 0.04 ).^2;

  return
end
