sling_ode_test
    
    
    
      sling_ode_test,
      an Octave code which
      calls sling_ode(), which 
      sets up and solves a system of ordinary differential equations 
      (ODE) for which the exact circular solution can only be approximated
      for a short interval before it decays to zero.
    
    
      Licensing:
    
    
      The information on this web page is distributed under the MIT license.
    
    
      Related Data and Programs:
    
    
      
      sling_ode,
      an Octave code which
      sets up and solves a system of ordinary differential equations 
      (ODE) for which the exact circular solution can only be approximated
      for a short interval before it decays to zero.
    
    
      Source Code:
    
    
      
    
    
      
        - 
          midpoint.m,
          solves an ODE system using the implicit midpoint method.
        
 
        - 
          sling_midpoint.m,
          uses midpoint() to solve the problem.
        
 
        - 
          sling_midpoint_plot_1.png,
          a plot of two solution components over time, for s = 1.
        
 
        - 
          sling_midpoint_phase_1.png,
          a phase plot, for s = 1.
        
 
        - 
          
          sling_midpoint_conservation_1.png,
          a plot of the energy over time, for s = 1.
        
 
        - 
          sling_midpoint_plot_0.4.png,
          a plot of two solution components over time, for s = 0.4.
        
 
        - 
          sling_midpoint_phase_0.4.png,
          a phase plot, for s = 0.4.
        
 
        - 
          
          sling_midpoint_conservation_0.4.png,
          a plot of the energy over time, for s = 0.4.
        
 
      
    
    
      
        - 
          sling_ode45.m,
          uses ode45() to solve the problem.
        
 
        - 
          sling_ode45_plot_1.png,
          a plot of two solution components over time, for s = 1.
        
 
        - 
          sling_ode45_phase_1.png,
          a phase plot, for s = 1.
        
 
        - 
          
          sling_ode45_conservation_1.png,
          a plot of the energy over time, for s = 1.
        
 
        - 
          sling_ode45_plot_0.4.png,
          a plot of two solution components over time, for s = 0.4.
        
 
        - 
          sling_ode45_phase_0.4.png,
          a phase plot, for s = 0.4.
        
 
        - 
          
          sling_ode45_conservation_0.4.png,
          a plot of the energy over time, for s = 0.4.
        
 
      
    
    
    
      Last revised on 08 June 2021.