function J = p04_j ( m, n, x )

%*****************************************************************************80
%
%% p04_j() evaluates the jacobian for problem 4.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%  Modified:
%
%    03 March 2026
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    integer M, the number of equations.
%
%    integer N, the number of variables.
%
%    real X(N), the evaluation point.
%
%  Output:
%
%    real J(M,N), the jacobian matrix.
%
  J = zeros ( m, n );

  J(1,1) = -20.0 * x(1);
  J(1,2) = 10.0;
  J(2,1) = -1.0;
  J(2,2) = 0.0;

  return
end
