function r8_zeta_test ( )

%*****************************************************************************80
%
%% r8_zeta_test() tests r8_zeta().
%
%  Discussion:
%
%    MATLAB provides a ZETA function in the Symbolic Toolbox.
%
%  Licensing:
%
%    This code is distributed under the MIT 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\n', p, v );
  end

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

  return
end
