function J = p26_j ( m, n, x )

%*****************************************************************************80
%
%% p26_j() evaluates the jacobian for problem 26.
%
%  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) = 2.0 * x(1) + x(2);
  J(2,1) = cos ( x(1) );
  J(3,1) = 0.0;

  J(1,2) = 2.0 * x(2) + x(1);
  J(2,2) = 0.0;
  J(3,2) = - sin ( x(2) );

  return
end
