function value = f3 ( x )

%*****************************************************************************80
%
%% f3() evaluates a function that can be used for Chebyshev interpolation.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    14 September 2011
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    real X(), the evaluation points.
%
%  Output:
%
%    real VALUE(), the function values.
%
  value = ( x - 3 ) .* ( x - 1 ) .* ( x - 1 ) .* ( x + 2 );

  return
end
