function expo_euler ( )

%*****************************************************************************80
%
%% expo_euler calls euler() with specific values of n, a, b, and y0.
%
%  Licensing:
%
%    This code is distributed under the GNU LGPL license.
%
%  Modified:
%
%    29 October 2019
%
%  Author:
%
%    John Burkardt
%
  n = 10;
  a = 0.0;
  b = 2.0;
  y0 = 1.0;
  
  [ t, y ] = euler ( @(t,y)expo_prime(t,y), n, a, b, y0 );

  clf ( );
  hold ( 'on' );
  plot ( t, y, 'r.', 'markersize', 25 );
  tplot = linspace ( a, b, 101 );
  yplot = expo_exact ( tplot, y0 );
  plot ( tplot, yplot, 'b-', 'linewidth', 3 );
  hold ( 'off' );
  grid ( 'on' );
  xlabel ( '<-- T -->' );
  ylabel ( '<-- Y(T) -->' );
  dt = ( b - a ) / n;
  label = sprintf ( 'expo ODE with dt = %g\n', dt );
  title ( label );

  filename = 'expo.png';
  print ( '-dpng', filename );
  fprintf ( 1, '  Graphics saved as "%s"\n', filename );

  return
end

  
