function stetter_euler_test ( n )

%*****************************************************************************80
%
%% stetter_euler_test() uses euler() on the 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 the Stetter ODE using the Euler method.\n' );

  [ t, y ] = stetter_euler ( n );

  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
