rk12_test
    
    
    
      rk12_test,
      a MATLAB code which 
      calls rk12(), which
      solves an ordinary differential equation (ODE) using a Runge-Kutta (RK)
      method of order 2, estimating the local error with a Runge-Kutta method
      of order 1.
    
    
      Licensing:
    
    
      The information on this web page is distributed under the MIT license.
    
    
      Related Data and Programs:
    
    
      
      rk12,
      a MATLAB code which
      solves an ordinary differential equation (ODE) using a Runge-Kutta (RK)
      method of order 2, estimating the local error with a Runge-Kutta method
      of order 1.
    
    
      Source Code:
    
    
      
    
    
      
        - 
          predator_deriv.m
          evaluates the derivative for the predator-prey problem.
        
 
        - 
          predator_rk1.m
          approximates the predator-prey problem using a Runge-Kutta
          method of order 1.
        
 
        - 
          predator_rk2.m
          approximates the predator-prey problem using a Runge-Kutta
          method of order 2.
        
 
        - 
          predator_rk12.m
          approximates the predator-prey problem using a Runge-Kutta
          method of order 2, and estimates the error by comparing
          with a Runge-Kutta method of order 1.
        
 
      
    
    
      
    
    
      
    
    
      
    
    
    
      Last revised on 20 October 2022.