Harmonic Oscillator Histograms




Velocity Position


A single particle experiences a Hooke's law restoring force.  A measurement is made every tenth of a second and a histogram is constructed from these measurements.



Features of this Script

This script makes extensive use of inter-applet communication.  The moving particle is a Physlet data source that generates x, y, vx, and vy values.  These values are passed to the histogram filter.  This filter sorts the incoming data into the appropriate bins and then passes the resulting histogram to the DataGraph Physlets.

Required Resources

Jar files:  Animator4_.jar, DataGraph4_.jar, Filters4_.jar, STools4.jar
Images:  none


Script by Wolfgang Christian
Questions by Wolfgang Christian.
Java applets by Wolfgang Christian.