Second-Order Linear ODE — Vibration

Mass–spring–damper system: $\,m\ddot{x} + c\dot{x} + kx = F_0\cos(\omega t)$

Mode

System Parameters

Mass $m$ 1.00
Damping $c$ 0.50
Stiffness $k$ 4.00
Underdamped: $\zeta < 1$

Initial Conditions

Animation

Speed 1.0×

Display

Time range 20
Governing Equation

Spring–Mass–Damper Animation

spring
damper
t = 0.00

Displacement $x(t)$

$x(t)$
envelope

Phase Portrait $(x, \dot{x})$

Energy

KE
PE
Total
Analytical Solution