Math-305, Numerical Methods & Matrices
Classical Runge-Kutta Test Problem

Dr. Kevin G. TeBeest


       Classical Runge-Kutta 

       Approximate the solution of the IVP

               y'   =   y * cos(x)
               y(0) = 1

       on the interval [0, 2].

       x0 =   0.0000
       xf =   2.0000
       h  =   0.2000
       y0 =   1.0000


         n       x           y
      ******************************
         0     0.000      1.000000
         1     0.200      1.219776
         2     0.400      1.476116
         3     0.600      1.758809
         .      .          .
         .      .          .
         .      .          .


NOTE: In Part I you should obtain these results EXACTLY. If you do not, then you have an error in your code and you should NOT move on to Part II.


Return to main index