function J = p07_j ( m, n, x )

%*****************************************************************************80
%
%% p07_j() evaluates the jacobian for problem 7.
%
%  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) = 1.0;
  J(1,2) = x(2) * ( 10.0 - 3.0 * x(2) ) - 2.0;
  J(2,1) = 1.0;
  J(2,2) = x(2) * ( 2.0 + 3.0 * x(2) ) - 14.0;

  return
end
