function J = p03_j ( m, n, x )

%*****************************************************************************80
%
%% p03_j() evaluates the jacobian for problem 3.
%
%  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 );

  for j = 2 : n - 1
    for i = 2 : m - 1
      J(i,j) = ( i - 1 ) * j;
    end
  end

  return
end
