function f2 = p02_f2 ( x ) %*****************************************************************************80 % %% P02_F2 evaluates the second derivative for problem 2. % % Licensing: % % This code is distributed under the GNU LGPL license. % % Modified: % % 26 February 2002 % % Author: % % John Burkardt % % Reference: % % LE Scales, % Introduction to Non-Linear Optimization, % Springer, 1985. % % Parameters: % % Input, real X, the values of the variables. % % Output, real F2, the second derivative. % f2 = 2.0 + exp ( -x ); return end