function logistic_errors ( )

%*****************************************************************************80
%
%% logistic_errors reports the RMS error for the logistic equation.
%
%  Licensing:
%
%    This code is distributed under the GNU LGPL license.
%
%  Modified:
%
%    14 September 2020
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'logistic_errors:\n' );
  fprintf ( 1, '  Use logistic_euler() to solve the logistic equation\n' );
  fprintf ( 1, '  for an increasing number of steps N.\n' );
  fprintf ( 1, '  Print the RMS error for each value of N.\n' );

  fprintf ( 1, '\n' );
  fprintf ( 1, '   I     N   RMS\n' );
  fprintf ( 1, '\n' );
  n = 10;
  for i = 1 : 8
    e = logistic_euler ( n );
    fprintf ( 1, '  %2d  %4d  %g\n', i, n, e );
    n = 2 * n;
  end

  return
end

