function fx = p03_fx ( n, x )

%*****************************************************************************80
%
%% p03_fx() evaluates the function for problem 3.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    10 October 2020
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    integer N, the number of variables and equations.
%
%    real X(N), the evaluation point.
%
%  Output:
%
%    real FX(N), the function value.
%
  fx = zeros ( n, 1 );

  fx(1) = 10000.0 * x(1) * x(2) - 1.0;
  fx(2) = exp ( - x(1) ) + exp ( - x(2) ) - 1.0001;

  return
end

