function r8_zeta_test ( )

%*****************************************************************************80
%
%% R8_ZETA_TEST tests R8_ZETA.
%
%  Discussion:
%
%    Note that MATLAB provides a ZETA function.
%
%  Licensing:
%
%    This code is distributed under the GNU LGPL license.
%
%  Modified:
%
%    09 March 2016
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'R8_ZETA_TEST\n' );
  fprintf ( 1, '  R8_ZETA estimates the Zeta function.\n' );

  fprintf ( 1, '\n' );
  fprintf ( 1, '       P     R8_Zeta(P)\n' );
  fprintf ( 1, '\n' );
  for p = 1 : 25
    v = r8_zeta ( p );
    fprintf ( 1, '  %6d  %14.6g  %14.6g\n', p, v, zeta ( p ) );
  end

  fprintf ( 1, '\n' );
  for p = 3.0 : 0.125 : 4.0
    v = r8_zeta ( p );
    fprintf ( 1, '  %6g  %14.6g  %14.6g\n', p, v, zeta ( p ) );
  end

  return
end
