Euler's method numerical
solution of a simple ODE: dy/dx=2x.
An Introduction to Computer Simulation Methods
Chapter 2: Creating Simulations
We introduce Easy Java Simulations (EJS) in the context of simulating the motion of falling particles near the
Earth's surface using common Java syntax and EJS user interface elements. A simple algorithm for solving first-order differential equations numerically
also is discussed.
Chapter 2 PDF
Models
The following EJS models are described in Chapter 2 of the EJS adaptation of An Introduction to Computer Simulation Methods.
-
Euler's Method: A numerical solution method applied to a first-order ODE.
- Euler Falling Ball: Euler's method
applied to a falling particle.
- Euler Falling Ball Visualization: A visualization of a falling particle
model.
- Euler Falling Ball Analysis: Error analysis of the falling particle solution using the Data Tool.
- Bouncing Balls: Displays
fifty non-interacting balls bouncing within a 2D box.