function hump_euler ( n )

%*****************************************************************************80
%
%% hump_euler calls the Euler code.
%
%  Licensing:
%
%    This code is distributed under the GNU LGPL license.
%
%  Modified:
%
%    07 February 2020
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    integer N: the number of steps to take.
%
  if ( nargin < 1 )
    n = 100;
  end

  fprintf ( 1, '\n' );
  fprintf ( 1, 'hump_euler:\n' );

  f = @ hump_deriv;
  tspan = [ 0.0, 2.0 ];
  y0 = 5.1765;

  [ t, y ] = euler ( f, tspan, y0, n );

  plot ( t, y, 'linewidth', 3 );
  grid ( 'on' );
  xlabel ( '<-- t -->' );
  ylabel ( '<-- y(t) -->' );
  title ( 'Hump solution by euler' );

  print ( '-dpng', 'hump_plot_euler.png' );

  return
end
