Damped Harmonic Oscillator — Calculator & Plot

Dependent variable: y(t) (displacement). Independent variable: t (time, seconds). Plotting library: Plotly.js.

Inputs

Model: y(t) = A · e^{−ζ ωn t} · cos(ωd t + φ), where ωd = ωn √(1−ζ²) and 0 ≤ ζ < 1 (underdamped).

Tip: use the toolbar in the top-right of the chart to zoom, pan, and download as PNG.

Zero-Crossing "Solutions" (y(t) = target)