function stetter_trapezoidal_test ( n )

%*****************************************************************************80
%
%% stetter_trapezoidal_test() uses the trapezoidal method on stetter_ode().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    26 April 2021
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    integer N: the number of steps to take.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'stetter_trapezoidal_test()\n' );
  fprintf ( 1, '  Use stetter_trapezoidal() to solve stetter_ode().\n' );

  [ t, y ] = stetter_trapezoidal ( n );

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

  return
end
