MY SIMULATOR / PHYSICS COLLECTION
INTERACTIVE EXHIBIT

PHYSICS LAB · OSCILLATIONS

Resonance Lab: Exploring a Driven Mass–Spring Oscillator

Tune the driver, feel the effect of damping, and test when a small push can build a large response.

RENDER DETAIL

LIVE EXPERIMENT

Mass on a horizontal rail

LIVE MODEL
↔ DRAG THE BLOCK TO SET DISPLACEMENT

EXPERIMENT CONTROLS

Change one variable at a time

SI inputs · illustrative model
QUICK PRESETS
Running · fixed 1/240 s integration step

MEASUREMENT VS THEORY

Does the model match the experiment?

AMPLITUDE

The measured steady response is compared with the textbook frequency-response equation. Let the motion settle before judging the difference.

MEASURED · ILLUSTRATIVECollecting…
VS
THEORY · TEXTBOOK— cm
Waiting for steady-state peaks— % difference

INDEPENDENT NUMERICAL CHECKS

Trust, but verify

3 CHECKS
⌁
Resonance peak scanTextbook peak vs 601-point brute-force scan
0.0%frequency difference
◇
Energy ledgerStored energy + dissipation − input work
0.0%balance residual
↔
RK4 step-halvingCurrent step vs independent half-step reference
0.0%position difference

Checks are computed from the current illustrative SI model. Reference equations are textbook results; the drawn apparatus is visually scaled.

FIELD NOTESThe science behind the motion+

Equation of motion

The horizontal displacement x is measured from equilibrium. A linear spring, viscous damper and sinusoidal driver give:

m ẍ + c ẋ + kx = F₀ cos(ωt)

The numerical model advances position and velocity together using a fixed-step fourth-order Runge–Kutta method. Its step is 1/240 s.

Useful reference quantities

ωₙ = √(k/m)   and   ζ = c/(2√mk)
X(ω) = F₀ / √[(k − mω²)² + (cω)²]

The first expression gives the undamped natural angular frequency and damping ratio. The second gives the steady-state displacement amplitude for a sinusoidal drive.

What is simplified?

The spring obeys Hooke’s law at every displacement, the damper force is proportional to velocity, and the block moves on a level frictionless rail apart from the modelled damper. The spring has no mass, the block is rigid, and the driver is an ideal force source. Air resistance, loose joints, spring nonlinearity and sound are omitted. The illustration is scaled to fit the exhibit; its geometry is not a measurement of a real apparatus.

An independent educational simulation; not affiliated with or endorsed by any manufacturer or institution.

Made with 🤖 ChatGPT · Three.js