function f = p14_f ( x )

%*****************************************************************************80
%
%% p14_f() evaluates the objective function for problem 14.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    08 August 2019
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    real x, the argument of the objective function.
%
%  Output:
%
%    real f, the value of the objective function.
%
  f = 1.0 ./ ( ( x - 0.3 ).^2 + 0.01 ) ...
    + 1.0 ./ ( ( x - 0.9 ).^2 + 0.04 ) ...
    - 6.0;

  return
end
