Tutorial

Using Excel to Implement Runge Kutta method : Scalar Case

Suppose we want to simulate a process described by the following equation:

  1. Input the initial condition and the time increment

  2.  

     
     

  3. Next, calculate the four intermediate d's

  4.  

     
     



  5. Calculate the new values of y,

  6.  

     
     



     


  7. Copy the formulas until the desired range of time and then plot y vs t.

  8.  


( Note: for more complicated and multivariable case, you can check out the use of RK4 Excel Addin. ( Click here to download version 3.0   or  Click here to download version 2.0) or link to RK4_v3_0.html for a brief description.)


This page is maintained by Tomas B. Co (tbco@mtu.edu). Last revised 08/16/2005.

          Tomas B. Co
          Associate Professor
          Department of Chemical Engineering
          Michigan Technological University
          1400 Townsend Avenue
          Houghton, MI 49931-1295

Back to Homepage