function fx = p08_fx ( x )

%*****************************************************************************80
%
%% p08_fx evaluates cos ( x ) - x.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    07 May 2011
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    real X(*), the point at which F is to be evaluated.
%
%  Output:
%
%    real FX(*), the value of the function at X.
%
  fx = cos ( x ) - x;

  return
end
