What the Spring–Mass–Damper tab does The Spring–Mass–Damper tab of the Physics Sim hub integrates m·x″ + c·x′ + k·x = F(t) for one mass on one linear spring. It reports the natural frequency ω_n, the damping ratio ζ, the critical damping coefficient c_c, the damped frequency ω_d and the quality factor Q, then forces the mass with F₀·cos(ωt) or any F(t) you type, checking the numeric steady amplitude against the closed form.
How to run a case 01 Set the plant. Mass, damping c in N·s/m and stiffness k in N/m; the presets cover underdamped, critical and overdamped. 02 Set the initial state. x₀ and v₀ position the mass for the free run; the exact solution is drawn beside the numeric one. 03 Turn on forcing. The F(t) button adds amplitude F₀ and drive frequency ω, or a typed expression such as 3*cos(2*t). 04 Read the parameter cards. Regime, ω_n, ζ, c_c, ω_d and Q come from the plant alone — they do not change when you change x₀. 05 Read the response rows. The steady amplitude, its analytic value and the relative error appear with the excitation; the energy-balance residual is the self-check.
Worked example m = 1 kg, k = 16 N/m, so ω_n = 4 rad/s and c_c = 8 N·s/m ; initial state x₀ = 1 m, v₀ = 0; drive F₀ = 1 N at frequency ω.
c (N·s/m)
ζ
Regime
ω_d (rad/s)
Resonance ω (rad/s)
Peak magnification
X at ω = 4 rad/s
0.4
0.05
underdamped
3.994997
3.989987
10.012523
0.625 m at 90° lag
2
0.25
underdamped
3.872983
3.741657
2.065591
—
6
0.75
underdamped
2.645751
none
none
—
The sweep reproduces the analytic peak: at c = 0.4 the sampled grid peaks at 3.989974 rad/s with magnitude 10.012228 , against 3.989987 / 10.012523 from the closed form. The static deflection is F₀/k = 0.0625 m , and the drive at ω = 4 rad/s gives 0.625783 m at 87.1254° when ω is set to the true resonance, 0.613785 m at 75.8785° at the panel's 3.95 rad/s preset, 0.083149 m at 2 rad/s, and 0.0625 m at 0.0014° near zero frequency. Free vibration at the default damping matches the closed-form solution to 3.7e-9 m , with an energy-balance residual of 1.98e-9 .
Why the peak is not at ω_n The steady solution is X·cos(ωt − φ) with magnification X/(F₀/k) = 1/√((1−r²)² + (2ζr)²), where r = ω/ω_n. Setting the derivative to zero puts the displacement peak at ω_n√(1−2ζ²), which sits below ω_n for every damped system and stops existing entirely once ζ ≥ 1/√2 ≈ 0.7071 — the magnifier then falls monotonically from the quasi-static value F₀/k. Frequency and displacement resonance are not the same thing; the velocity peak stays closer to ω_n. The phase runs from 0° at low frequency through exactly 90° at ω_n to 180° above it, and Q = 1/(2ζ) is the small-damping shortcut for the peak. The same equation, with gravity as the restoring force, describes the small oscillations of a body about a stable circular orbit .
Limits and what it does not do
One linear mode. The damper coefficient is constant — no Coulomb friction, no velocity-squared drag, no nonlinear or hardening spring, no change of k with amplitude.
It is a lumped single-mass model. Real mounts have resonances of their own; the tab shows the first mode of one mass on one spring and nothing above it. What it does not do. It does not design a controller, a filter or a multi-mass structure; take feedback work to the Engineering Lab , a second oscillator to the pendulum tab , and measurement error bars to Uncertainty .
The trap: 90° is not the peak A driven system that lags its driver by exactly 90° is often called resonant, but at c = 0.4 the phase reads 90° at ω = 4 rad/s while the true amplitude peak sits at 3.989987 rad/s — the pair of readouts differs by about 0.25%. The gap grows with damping: at c = 2 the 90° point remains 4 rad/s, but the peak has already slid to 3.741657 rad/s , about 6.5% lower. And "underdamped" does not guarantee a bump: c = 6 gives ζ = 0.75 , still below critical, yet the peak card reports none, because ζ crossed 1/√2. Near the threshold the peak is a shoulder: at c = 5.6, ζ = 0.7 , magnification 1.0002 at 0.565685 rad/s .
Where it is used Vibration isolation A mount is a spring and a damper: below its natural frequency the payload follows the base one-for-one, near resonance it is amplified, and above it isolation improves. The magnification card turns a datasheet's ζ into the price paid at resonance — 10× at ζ = 0.05, 2.07× at ζ = 0.25, and no peak past ζ = 0.7071.
Teaching transient versus steady state The free run shows the decay envelope; the forced run shows the transient dying and the steady row converging — the residual 8.6e-7 between numeric and analytic amplitude is the method's own evidence; with forcing off, the same rows show conservation.
Privacy The integration and the frequency sweep run inside your browser; the mass, spring, damper and drive settings are never uploaded.
References
Wikipedia, Harmonic oscillator — free and driven solutions, ω_d and the steady-state amplitude. en.wikipedia.org (访问日期:2026-10-07)
Wikipedia, Damping ratio — ζ = c/(2√(km)) and the three regimes. en.wikipedia.org (访问日期:2026-10-07)
Wikipedia, Resonance — amplitude resonance at ω_n√(1−2ζ²) and its disappearance for ζ ≥ 1/√2. en.wikipedia.org (访问日期:2026-10-07)
Wikipedia, Q factor — Q = 1/(2ζ) and the peak magnification. en.wikipedia.org (访问日期:2026-10-07)
Wikipedia, Phase (waves) — the 90° phase lag at ω_n. en.wikipedia.org (访问日期:2026-10-07)
Calculators in this hub
Hand-picked tools, one click away. The mini versions compute live and carry your values into the full calculator.
Sources & review
Reviewed by CalcX Editorial Team
Updated 2026-10-07