function f = p17_f ( x )

%*****************************************************************************80
%
%% p17_f() evaluates the objective function for test 17.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    23 February 2026
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    real x: the argument.
%
%  Output:
%
%    real f: the function value.
%
  f = 2.3 + 3.0 * exp ( x ) - x.^2 + 5.0 * x;

  return
end

