function f = p06_f ( n, x )

%*****************************************************************************80
%
%% p06_f() evaluates the function for problem p06.
%
%  Discussion:
%
%    f(x) = exp ( - (4 * x - 1)^2 )
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    06 August 2012
%
%  Author:
%
%    John Burkardt
%
%  Reference:
%
%    Alan Genz,
%    A Package for Testing Multiple Integration Subroutines,
%    in Numerical Integration: Recent Developments, Software
%    and Applications,
%    edited by Patrick Keast and Graeme Fairweather,
%    D Reidel, 1987, pages 337-340,
%    LC: QA299.3.N38.
%
%  Input:
%
%    integer N, the number of points.
%
%    real X(N,1), the evaluation points.
%
%  Output:
%
%    real F(N,1), the function values.
%
  f = exp ( - ( 4.0 * x - 1.0 ) .^ 2 );

  return
end
