function [ a, b ] = p00_interval ( test )

%*****************************************************************************80
%
%% p00_interval() returns a bracketing interval for any test.
%
%  Licensing
%
%    This code is distributed under the MIT license.
%
%  Modified
%
%    23 February 2026
%
%  Author
%
%    John Burkardt
%
%  Input
%
%    integer test the test index.
%
%  Output
%
%    real a, b, two points, between which a local minimizer should be sought.
%
  if ( test == 1 )
    [ a, b ] = p01_interval ( );
  elseif ( test == 2 )
    [ a, b ] = p02_interval ( );
  elseif ( test == 3 )
    [ a, b ] = p03_interval ( );
  elseif ( test == 4 )
    [ a, b ] = p04_interval ( );
  elseif ( test == 5 )
    [ a, b ] = p05_interval ( );
  elseif ( test == 6 )
    [ a, b ] = p06_interval ( );
  elseif ( test == 7 )
    [ a, b ] = p07_interval ( );
  elseif ( test == 8 )
    [ a, b ] = p08_interval ( );
  elseif ( test == 9 )
    [ a, b ] = p09_interval ( );
  elseif ( test == 10 )
    [ a, b ] = p10_interval ( );
  elseif ( test == 11 )
    [ a, b ] = p11_interval ( );
  elseif ( test == 12 )
    [ a, b ] = p12_interval ( );
  elseif ( test == 13 )
    [ a, b ] = p13_interval ( );
  elseif ( test == 14 )
    [ a, b ] = p14_interval ( );
  elseif ( test == 15 )
    [ a, b ] = p15_interval ( );
  elseif ( test == 16 )
    [ a, b ] = p16_interval ( );
  elseif ( test == 17 )
    [ a, b ] = p17_interval ( );
  elseif ( test == 18 )
    [ a, b ] = p18_interval ( );
  elseif ( test == 19 )
    [ a, b ] = p19_interval ( );
  elseif ( test == 20 )
    [ a, b ] = p20_interval ( );
  elseif ( test == 21 )
    [ a, b ] = p21_interval ( );
  elseif ( test == 22 )
    [ a, b ] = p22_interval ( );
  elseif ( test == 23 )
    [ a, b ] = p23_interval ( );
  elseif ( test == 24 )
    [ a, b ] = p24_interval ( );
  elseif ( test == 25 )
    [ a, b ] = p25_interval ( );
  elseif ( test == 26 )
    [ a, b ] = p26_interval ( );
  elseif ( test == 27 )
    [ a, b ] = p27_interval ( );
  elseif ( test == 28 )
    [ a, b ] = p28_interval ( );
  elseif ( test == 29 )
    [ a, b ] = p29_interval ( );
  elseif ( test == 30 )
    [ a, b ] = p30_interval ( );
  elseif ( test == 31 )
    [ a, b ] = p31_interval ( );
  elseif ( test == 32 )
    [ a, b ] = p32_interval ( );
  elseif ( test == 33 )
    [ a, b ] = p33_interval ( );
  elseif ( test == 34 )
    [ a, b ] = p34_interval ( );
  elseif ( test == 35 )
    [ a, b ] = p35_interval ( );
  elseif ( test == 36 )
    [ a, b ] = p36_interval ( );
  elseif ( test == 37 )
    [ a, b ] = p37_interval ( );
  elseif ( test == 38 )
    [ a, b ] = p38_interval ( );
  elseif ( test == 39 )
    [ a, b ] = p39_interval ( );
  elseif ( test == 40 )
    [ a, b ] = p40_interval ( );
  else
    fprintf ( 1, '\n' );
    fprintf ( 1, 'p00_interval(): Fatal error!\n' );
    fprintf ( 1, '  Illegal test number = %d\n', test );
    error ( 'p00_interval(): Fatal error!' )

  return
end

