function fx = f_lotka ( n, x )

%*****************************************************************************80
%
%% f_lotka defines the implicit function for the lotka problem.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    15 September 2019
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    integer N, the number of variables, which should be 2.
%
%    real X(N), the variable values.
%
%  Output:
%
%    real FX(N-1), the function evaluated at X.
%
  fx = zeros ( n - 1, 1 );

  fx(1) = x(1) - log ( x(1) ) + x(2) - 2.0 * log ( x(2) ) - 6.0 + log ( 16.0 );

  return
end
