function f = p22_f ( x )

%*****************************************************************************80
%
%% p22_f() evaluates the objective function for test 22.
%
%  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 = 10.2 + ( abs ( x - 5 ) ).^3;

  return
end
