function p00_f2_test ( )

%*****************************************************************************80
%
%% P00_F2_TEST tests P00_F2
%
%  Licensing:
%
%    This code is distributed under the GNU LGPL license. 
%
%  Modified:
%
%    06 December 2016
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'P00_F2_TEST\n' );
  fprintf ( 1, '  P00_F2 evaluates the second derivative of the optimization \n' );
  fprintf ( 1, '  function f(x) at any point x, and for any problem.\n' );
  fprintf ( 1, '\n' );
  fprintf ( 1, '  Problem               X            F"(X)\n' );
  fprintf ( 1, '\n' );

  problem_num = p00_problem_num ( );

  for problem = 1 : problem_num

    x_start = p00_start ( problem );

    f2_start = p00_f2 ( problem, x_start );

    fprintf ( 1, '  %7d  %14.6g  %14.6g\n', problem, x_start, f2_start );

  end

  return
end
