function stetter_euler_test ( n )

%*****************************************************************************80
%
%% stetter_euler_test() uses the euler method on stetter_ode().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    05 March 2021
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    integer N: the number of steps to take.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'stetter_euler_test():\n' );
  fprintf ( 1, '  Solve stetter_ode() using the euler method.\n' );

  [ t, y ] = stetter_euler ( n );

  clf ( );
  plot ( t, y, 'r-o', 'linewidth', 3 );
  grid ( 'on' );
  xlabel ( '<-- t -->' );
  ylabel ( '<-- y(t) -->' );
  title ( 'stetter_ode(): Euler method' );
  filename = 'stetter_euler.png';
  print ( '-dpng', filename );
  fprintf ( 1, '  Graphics saved as "%s"\n', filename );

  return
end
