A comparison of fifty-one driven simple harmonic oscillators with differing natural frequencies.

An Introduction to Computer Simulation Methods
Chapter 4 Examples: Oscillations

We explore the behavior of oscillatory systems, including the simple harmonic oscillator, a simple pendulum, and electrical circuits and we introduce the concept of phase space. We also show how the EJS ODE editor is used to solve arrays of differential equations.

 

The following EJS models are described in Chapter 4 of the EJS adaptation of An Introduction to Computer Simulation Methods.

Download

 

The EJS adaptation of an Introduction to Computer Simulation Methods examples are distributed as a ready-to-run (compiled) Java archive.  Downloading and then double clicking the csm_ch04.jar file will run the chapter 4 examples if Java is installed.  You can examine and modify these examples if you have EJS installed by right-clicking within a running simulation and selecting "Open Ejs Model" from the pop-up menu.