function showqnc ( )

%% showqnc() examines the closed Newton-Cotes rules.

  fprintf ( 1, '\n' );
  fprintf ( 1, 'showqnc():\n' );

% while input('Another exammple? (1=yes, 0=no). ')
%    fname = input('Enter within quotes the name of the integrand function:');
%    a = input('Enter left endpoint: ');
%    b = input('Enter right endpoint: ');
     a = 0.0;
     b = 2.0;
     s = ['QNC( humps' sprintf(',%6.3f,%6.3f,m )',a,b)];
	 clc
     disp(['  m      ' s])
     disp(' ')
     for m=2:11
        numI = QNC(@humps,a,b,m);
        disp(sprintf(' %2.0f      %20.16f',m,numI))
     end
% end

  return
end

