function ab=sr_explogalg11half_inf(nofdig,N)
%SR_EXPLOGALG11HALF_INF Recurrence coefficients for a weight 
%function on [1,inf] with an algebraic/extended-logarithmic 
%singularity with exponent 1/2.
%   AB=SR_EXPLOGALG11HALF_INF(NOFDIG,N) generates in DIG-digit
%   arithmetic the first N recurrence coefficients for the 
%   weight function w(x)=x^(1/2)*exp(-x)*log(1+1/x) on [1,inf],  
%   using a 1-component discretization procedure, and places 
%   them to NOFDIG digits into the Nx2 array AB. The variable 
%   DIG must be entered when prompted by the routine. 

global mc mp iq idelta irout dig ablag
tic
dig=input('enter the value of dig');
Mmax=2000; 
ablag=sr_laguerre(dig,Mmax);
mc=1; mp=0; iq=1; idelta=2; irout=1; eps0=.5*10^(-nofdig); 
[ab,Mcap,kount]=smcdis(dig,N,eps0,@squad_explogalg11half_inf,Mmax); 
digits(dig); ab=vpa(ab,nofdig);
[Mcap kount]
toc
