function x = p00_sol ( test )

%*****************************************************************************80
%
%% p00_sol() returns the solution for any test.
%
%  Licensing
%
%    This code is distributed under the MIT license.
%
%  Modified
%
%    23 February 2026
%
%  Author
%
%    John Burkardt
%
%  Input
%
%    integer test the test number.
%
%  Output
%
%    real x the (approximate) minimizer.
%
  if ( test == 1 )
    x = p01_sol ( );
  elseif ( test == 2 )
    x = p02_sol ( );
  elseif ( test == 3 )
    x = p03_sol ( );
  elseif ( test == 4 )
    x = p04_sol ( );
  elseif ( test == 5 )
    x = p05_sol ( );
  elseif ( test == 6 )
    x = p06_sol ( );
  elseif ( test == 7 )
    x = p07_sol ( );
  elseif ( test == 8 )
    x = p08_sol ( );
  elseif ( test == 9 )
    x = p09_sol ( );
  elseif ( test == 10 )
    x = p10_sol ( );
  elseif ( test == 11 )
    x = p11_sol ( );
  elseif ( test == 12 )
    x = p12_sol ( );
  elseif ( test == 13 )
    x = p13_sol ( );
  elseif ( test == 14 )
    x = p14_sol ( );
  elseif ( test == 15 )
    x = p15_sol ( );
  elseif ( test == 16 )
    x = p16_sol ( );
  elseif ( test == 17 )
    x = p17_sol ( );
  elseif ( test == 18 )
    x = p18_sol ( );
  elseif ( test == 19 )
    x = p19_sol ( );
  elseif ( test == 20 )
    x = p20_sol ( );
  elseif ( test == 21 )
    x = p21_sol ( );
  elseif ( test == 22 )
    x = p22_sol ( );
  elseif ( test == 23 )
    x = p23_sol ( );
  elseif ( test == 24 )
    x = p24_sol ( );
  elseif ( test == 25 )
    x = p25_sol ( );
  elseif ( test == 26 )
    x = p26_sol ( );
  elseif ( test == 27 )
    x = p27_sol ( );
  elseif ( test == 28 )
    x = p28_sol ( );
  elseif ( test == 29 )
    x = p29_sol ( );
  elseif ( test == 30 )
    x = p30_sol ( );
  elseif ( test == 31 )
    x = p31_sol ( );
  elseif ( test == 32 )
    x = p32_sol ( );
  elseif ( test == 33 )
    x = p33_sol ( );
  elseif ( test == 34 )
    x = p34_sol ( );
  elseif ( test == 35 )
    x = p35_sol ( );
  elseif ( test == 36 )
    x = p36_sol ( );
  elseif ( test == 37 )
    x = p37_sol ( );
  elseif ( test == 38 )
    x = p38_sol ( );
  elseif ( test == 39 )
    x = p39_sol ( );
  elseif ( test == 40 )
    x = p40_sol ( );
  else
    fprintf ( 1, '\n' );
    fprintf ( 1, 'p00_sol(): Fatal error!\n' );
    fprintf ( 1, '  Illegal test number = %d\n', test );
    error ( 'p00_sol(): Fatal error!' );

  return
end
