Horizontal Coupled Mass-Spring System

Simulate 1–4 coupled masses with springs, damping, and arbitrary forcing \(M\ddot{\mathbf{x}}+C\dot{\mathbf{x}}+K\mathbf{x}=\mathbf{F}(t)\) — observe normal modes, resonance, and beats in real time.

\[ M\ddot{\mathbf{x}} + C\dot{\mathbf{x}} + K\mathbf{x} = \mathbf{F}(t), \quad \mathbf{x}(0)=\mathbf{x}_0, \quad \dot{\mathbf{x}}(0)=\mathbf{v}_0 \]
Parameters & Initial Conditions

Initial Displacements

Animation
x₁(t) — Mass 1
x₂(t) — Mass 2
x₃(t) — Mass 3
x₄(t) — Mass 4