function [ a, b ] = p00_lim ( prob )

%*****************************************************************************80
%
%% p00_lim() returns the limits of the approximation interval for any problem.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    14 February 2012
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    integer PROB, the number of the desired test problem.
%
%  Output:
%
%    real A, B, the lower and upper limits of
%    the approximation interval.
%
  if ( prob == 1 )
    [ a, b ] = p01_lim ( );
  elseif ( prob == 2 )
    [ a, b ] = p02_lim ( );
  elseif ( prob == 3 )
    [ a, b ] = p03_lim ( );
  elseif ( prob == 4 )
    [ a, b ] = p04_lim ( );
  elseif ( prob == 5 )
    [ a, b ] = p05_lim ( );
  else
    fprintf ( 1, '\n' );
    fprintf ( 1, 'P00_lim - Fatal error!\n' );
    fprintf ( 1, '  Illegal problem number = %d\n', prob );
    error ( 'P00_lim - Fatal error!' );
  end

  return
end
