function x = p00_sol ( problem, n )

%*****************************************************************************80
%
%% p00_sol() returns the solution of any problem.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    10 October 2020
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    integer PROBLEM, the problem number.
%
%    integer N, the order of the system.  N is primarily
%    needed for problems where N may vary.
%
%  Output:
%
%    real X(N), a solution value if known, or [].
%
  if ( problem == 1 )
    x = p01_sol ( n );
  elseif ( problem == 2 )
    x = p02_sol ( n );
  elseif ( problem == 3 )
    x = p03_sol ( n );
  elseif ( problem == 4 )
    x = p04_sol ( n );
  elseif ( problem == 5 )
    x = p05_sol ( n );
  elseif ( problem == 6 )
    x = p06_sol ( n );
  elseif ( problem == 7 )
    x = p07_sol ( n );
  elseif ( problem == 8 )
    x = p08_sol ( n );
  elseif ( problem == 9 )
    x = p09_sol ( n );
  elseif ( problem == 10 )
    x = p10_sol ( n );
  elseif ( problem == 11 )
    x = p11_sol ( n );
  elseif ( problem == 12 )
    x = p12_sol ( n );
  elseif ( problem == 13 )
    x = p13_sol ( n );
  elseif ( problem == 14 )
    x = p14_sol ( n );
  elseif ( problem == 15 )
    x = p15_sol ( n );
  elseif ( problem == 16 )
    x = p16_sol ( n );
  elseif ( problem == 17 )
    x = p17_sol ( n );
  elseif ( problem == 18 )
    x = p18_sol ( n );
  elseif ( problem == 19 )
    x = p19_sol ( n );
  elseif ( problem == 20 )
    x = p20_sol ( n );
  elseif ( problem == 21 )
    x = p21_sol ( n );
  elseif ( problem == 22 )
    x = p22_sol ( n );
  elseif ( problem == 23 )
    x = p23_sol ( n );
  else
    fprintf ( 1, '\n' );
    fprintf ( 1, 'P00_sol - Fatal error!\n' );
    fprintf ( 1, '  Illegal problem number = %d\n', problem );
    error ( 'P00_sol - Fatal error!' );
  end

  return
end
