Diatomic molecules Box walls (elastic)
⚠ Couldn't load the 3D engineThree.js failed to load from the CDN. Check your connection and reload.

Equipartition Theorem — Energy per Degree of Freedom

A box of diatomic "molecules" is coupled to a heat bath through independent Langevin equations for their three kinds of motion — translation of the whole molecule, end-over-end rotation, and bond-length vibration. Each channel is driven by the exact same fluctuation-dissipation physics that governs real thermal noise, and this simulator tracks the running average energy stored in each channel per quadratic degree of freedom. Despite translation, rotation and vibration having completely different effective masses, moments of inertia and stiffness, all three measured averages converge to the same value: (1/2)k_BT per degree of freedom, exactly as the equipartition theorem predicts. Sliders let you change temperature, the bath coupling strength, and the bond's spring constant to see which quantities shift the equilibrium value (only T) and which only change how fast or how noisily it's reached.