function x = p02_sol ( m, n )

%*****************************************************************************80
%
%% p02_sol() returns the solution of problem 2.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    03 March 2026
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    integer M, the number of equations.
%
%    integer N, the number of variables.
%
%  Output:
%
%    real x(n): the solution if known, or else an empty vector.
%
  x = 6.0 / ( ( 2 * m + 1 ) * ( n + 1 ) * n ) * ones ( n, 1 );

  return
end
