function arneodo_ode45 ( )

%*****************************************************************************80
%
%% arneodo_ode45() uses ode45() to solve arneodo_ode().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    16 September 2021
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'arneodo_ode45()\n' );
  fprintf ( 1, '  arneodo_ode() solved by ode45().\n' );
%
%  Get the parameter values.
%
  [ alpha, beta, delta, t0, xyz0, tstop ] = arneodo_parameters ( );

  f = @ arneodo_deriv;
  tspan = [ t0, tstop ];
%
%  Compute the approximate solution at equally spaced times.
%
  [ t, y ] = ode45 ( f, tspan, xyz0 );

  n = size ( t, 1 );
  fprintf ( 1, '\n' );
  fprintf ( 1, '  Number of variable size steps = %d\n', n );
%
%  Plot the data.
%
  clf ( );
  hold ( 'on' );
    plot3 ( y(1,1), y(1,2), y(1,3), 'g.', 'markersize', 15 )
    plot3 ( y(end,1), y(end,2), y(end,3), 'r.', 'markersize', 15 )
    plot3 ( y(:,1), y(:,2), y(:,3), 'b-', 'linewidth', 2 );
    view ( 3 );
  hold ( 'off' );
  grid ( 'on' );
  xlabel ( '<-- X -->' );
  ylabel ( '<-- Y -->' );
  zlabel ( '<-- Z -->' );
  title ( 'arneodo\_ode() solved by ode45()' );
  filename = 'arneodo_ode45.png';
  print ( '-dpng', filename );
  fprintf ( 1, '  Graphics saved as "%s\n', filename );

  return
end

