function x = p00_sol ( problem )

%*****************************************************************************80
%
%% p00_sol() returns the solution for any problem.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    03 February 2012
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    integer PROBLEM, the problem number.
%
%  Output:
%
%    real x, the solution.
%
  if ( problem == 1 )
    x = p01_sol ( );
  elseif ( problem == 2 )
    x = p02_sol ( );
  elseif ( problem == 3 )
    x = p03_sol ( );
  elseif ( problem == 4 )
    x = p04_sol ( );
  elseif ( problem == 5 )
    x = p05_sol ( );
  elseif ( problem == 6 )
    x = p06_sol ( );
  elseif ( problem == 7 )
    x = p07_sol ( );
  elseif ( problem == 8 )
    x = p08_sol ( );
  elseif ( problem == 9 )
    x = p09_sol ( );
  elseif ( problem == 10 )
    x = p10_sol ( );
  elseif ( problem == 11 )
    x = p11_sol ( );
  elseif ( problem == 12 )
    x = p12_sol ( );
  elseif ( problem == 13 )
    x = p13_sol ( );
  elseif ( problem == 14 )
    x = p14_sol ( );
  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
