Position cross-check
RK4 position compared with the analytical solution at the same model time.
INTERACTIVE PHYSICS EXHIBIT • MECHANICS
Explore how mass, stiffness and damping shape a moving system.
One step advances the illustrative model by 1/240 second.
The mass crosses its equilibrium point and turns around. The damper gradually removes mechanical energy from the motion.
MODEL VALIDATION
Three independent checks compare the simulated motion with equations and physical accounting.
RK4 position compared with the analytical solution at the same model time.
Energy lost by the mass–spring system compared with the damper's accumulated work.
Waiting for two positive peaks. The measured cycle will be compared with the damped-period equation.
TEXTBOOK EQUATION OF MOTION
The spring pulls towards equilibrium with force −kx. The damper resists motion with force −cv. Newton's second law combines them into the equation above.
The final expression applies when ζ is below one. The natural period without damping is T₀ = 2π/ω₀. At or above critical damping, the mass returns without repeating an oscillation.
Mechanical energy is stored as kinetic energy and spring potential energy. The damper converts mechanical energy into thermal energy in the idealised model. With zero damping, total mechanical energy is conserved.
The spring is assumed to obey Hooke's law, the damper is linear and viscous, and the attached mass is treated as a point-like rigid body. The spring itself has no mass; there is no external driving force, dry friction, air turbulence, spring fatigue or sideways motion. The drawing is scaled for clarity rather than to represent a real apparatus. The equations are textbook mechanics; slider values and displayed motion are illustrative. This independent educational exhibit is not affiliated with a manufacturer or research institution.