Numerical Methods for Solving Differential Equations

The Runge-Kutta Method

Using the Method with Mathematica

(continued from last page...)

Solution to Exercise 1

Solution
Name
Differential
Equation
Initial
Condition
Solve
up to
Number
of Steps
rkex1 y ' = y y(0) = 1 x = 1 10

Your solution, in tabular form, should have looked something like this:

And your plot of this solution should have looked something like this (though your points may not have been this size, or in color):

If your solution doesn't match what you see here, then go back to Mathematica and carefully check the parameters that you passed to the RK4 program. If necessary, change them, and reevaluate the commands.

Now, back to the exercises...


If you're lost, impatient, want an overview of this laboratory assignment, or maybe even all three, you can click on the compass button on the left to go to the table of contents for this laboratory assignment.

ODE Laboratories: A Sabbatical Project by Christopher A. Barker
©2002 San Joaquin Delta College, 5151 Pacific Ave., Stockton, CA 95207, USA
e-mail: cbarker@deltacollege.edu; WWW: http://barker.sjdccd.cc.ca.us/home.html