function kepler_ode_test ( )

%*****************************************************************************80
%
%% kepler_ode_test tests kepler_ode().
%
%  Licensing:
%
%    This code is distributed under the GNU LGPL license.
%
%  Modified:
%
%    07 February 2020
%
%  Author:
%
%    John Burkardt
%
%  Local:
%
%    real E: the eccentricity.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'kepler_ode_test:\n' );
  fprintf ( 1, '  MATLAB/Octave version %s\n', version ( ) );
  fprintf ( 1, '  Test kepler_ode.\n' );

  e = 0.6;
  pq0 = [ 1.0-e; 0.0; 0.0; sqrt((1.0+e)/(1.0-e)) ];
  tspan = [ 0.0, 120.0 ];
  n = 10000;

  kepler_euler ( tspan, pq0, n );
  kepler_midpoint ( tspan, pq0, n );
  kepler_ode45 ( tspan, pq0 );
%
%  Terminate.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'kepler_ode_test:\n' );
  fprintf ( 1, '  Normal end of execution.\n' );
  fprintf ( 1, '\n' );

  return
end
