Delta Banner

Mathematics & Science Learning Center
Computer Laboratory


Numerical Methods for Solving Differential Equations

Euler's Method

Using the Method with Mathematica

(continued from last page...)

Reminder: the euler program that we've taken so long to analyze looks like this:


Block[{ xold=x0,


  Do[ xnew=xold+h;


Copy the program from here and then switch to Mathematica and Paste and execute it. Return here once you have done this. . .

Your output from this command should have been nothing at all! After all, we didn't actually run the euler program, we simply told Mathematica how it works. Let's now move on and try using it.

Compass 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

©2017 San Joaquin Delta College, 5151 Pacific Ave., Stockton, CA 95207, USA