function fx = p06_f ( n, x ) %*****************************************************************************80 % %% P06_F evaluates the integrand for problem 06. % % Licensing: % % This code is distributed under the GNU LGPL license. % % Modified: % % 06 January 2009 % % Author: % % John Burkardt % % Reference: % % David Bailey, Karthik Jeyabalan, Xiaoye Li, % A Comparison of Three High-Precision Quadrature Schemes, % Experimental Mathematics, % Volume 14, Number 3, pages 317-329. % % Parameters: % % Input, integer N, the number of evaluation points. % % Input, real X(N), the evaluation points. % % Output, real FX(N), the integrand values. % fx(1:n) = x(1:n).^2 .* atan ( x(1:n) ); return end