function burgers_etdrk4_test ( )

%*****************************************************************************80
%
%% burgers_etdrk4_test() tests burgers_etdrk4().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    14 April 2020
%
%  Author:
%
%    Lloyd Trefethen.
%    Modification by John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'burgers_etdrk4_test():\n' );
  fprintf ( 1, '  burgers_etdrk4() solves the Burgers equation\n' );
  fprintf ( 1, '  using the etdrk4 method.\n' );

  nx = 256;
  nt = 26;
  vis = 0.03;
  [ xx, tt, uu ] = burgers_etdrk4 ( nx, nt, vis );
%
%  Display the results.
%
  clf ( );
  surf ( xx, tt, uu, 'edgecolor', 'none' );
  label = sprintf ( 'Burgers equation, visc = %g, solved by ETD RK4', vis );
  title ( label );
  xlabel ( '<-- x -->' );
  ylabel ( '<-- t -->' );
  grid ( 'off' );
  pbaspect ( [ 1.0, 1.0, 0.13 ] );

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

  return
end

