function fjac = p03_jac ( n, x )

%*****************************************************************************80
%
%% P03_JAC sets the jacobian 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 FJAC(N,N), the jacobian matrix.
%
  fjac = zeros ( n, n );

  fjac(1,1) = 10000.0 * x(2);
  fjac(1,2) = 10000.0 * x(1);

  fjac(2,1) = - exp ( - x(1) );
  fjac(2,2) = - exp ( - x(2) );

  return
end

