function ccfi_1_asymptotic ( n_min, n_inc, n_max, f, f_integral, ell )

%*****************************************************************************80
%
%% ccfi_1_asymptotic() computes asymptotic error for the Laguerre integral.
%
%  Discussion:
%
%    The Laguerre integral being approximated is
%      integral ( 0 <= x < +oo ) f(x) dx
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    21 May 2014
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    integer N_MIN, N_INC, N_MAX, the minimum, increment, and maximum
%    for the number of points in the rule.
%
%    function pointer F(x), returns the value of the integrand
%    at the N points X.
%
%    real F_INTEGRAL, the exact value of the integral.
%
%    real ELL, the scaling parameter.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, '     N  |Quad error|\n' );
  fprintf ( 1, '\n' );
  for n = n_min : n_inc : n_max
    [ x, w ] = ccfi_1 ( n, ell );
    fx = f ( x );
    q = w' * fx;
    e = abs ( f_integral - q );
    fprintf ( 1, '  %4d  %8.2e\n', n, e );
  end

  return
end
