function value = f2 ( x )

%*****************************************************************************80
%
%% f2() evaluates trigonometric interpolation test function #2.
%
%  Discussion:
%
%    F1(0) equals F1(1).
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    28 August 2019
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    real x, the evaluation points.
%
%  Output:
%
%    real value, the function value at x.
%
  v0 = f1(0.0);
  v1 = f1(1.0);
  value = f1(x) + x * ( v0 - v1 );

  return
end

