STRATA
Skip to study
XLVII

XLVII / Experiments

Workbench

Change a condition, inspect what happens, and keep the result. Six experiments connect an equation with a visible outcome, a numerical record, and questions you can pursue.

Forcing, damping, and response

How strongly does a system respond to a repeating force?

A mass attached to a spring begins at rest and feels a repeating force. Its displacement depends on the forcing frequency, the spring’s natural frequency, and the damping. Watch the transient response build, then compare it with the analytical steady-state gain.

The response builds from rest.

Driving forceDisplacement
Normalized force / displacement-4.67-2.3302.334.670481216Time (seconds)
The displacement trace includes the initial transient. The driving force is normalized to amplitude one; displacement is normalized by the static displacement under the same force amplitude.

The steady-state response depends on frequency.

Analytical gain
Steady-state gain01.132.273.44.5300.631.251.882.5Forcing / natural frequency
The curve holds damping at 0.12 while varying the forcing frequency. The marker shows your current frequency ratio and analytical gain.
Steady-state gain
4.167

Analytical displacement / static displacement.

Steady-state phase lag
90.0°

Displacement lags the applied force.

Final four-second half-range
4.167

Measured from this finite simulated record.

Elapsed forcing cycles
16.0

16 seconds, with a 1 Hz natural frequency.

The table samples the record every two seconds and includes its endpoint. The CSV contains the complete 60-sample-per-second trace.
Time (s)Displacement / staticVelocity (s⁻¹)Normalized force
0.000.00000.00001.0000
2.000.084220.34511.0000
4.000.037124.89021.0000
6.000.012225.89721.0000
8.000.003626.11851.0000
10.000.001026.16671.0000
12.000.000326.17711.0000
14.000.000126.17931.0000
16.000.000026.17981.0000

Keep a reproducible record.

The JSON includes parameters, model assumptions, sources, and full results. The CSV contains time, normalized displacement, normalized velocity, and normalized driving force.

Method

The calculation follows these rules.

Integrate the normalized mass–spring equation with fourth-order Runge–Kutta steps of 1/240 second. The plotted trace keeps 60 samples per second. Separately calculate the analytical steady-state gain and phase for a continuously driven linear system.

u″ + 2ζω₀u′ + ω₀²u = ω₀² cos(ωt); gain = 1 / √[(1 − r²)² + (2ζr)²], where r = ω/ω₀.

Read the result within its assumptions.

  • Displacement is divided by the static displacement F₀/k. Velocity is in that displacement unit per second; force is divided by its amplitude F₀.
  • The spring is linear, damping is proportional to velocity, and forcing continues throughout the record. Nonlinear stiffness, friction thresholds, and material failure are excluded.
  • The last four-second half-range is a finite-record measurement. It need not equal steady-state gain, especially before transients decay or when the forcing period exceeds that window.

Take the experiment further.

01

Separate buildup from steady state.

Use the lightly damped preset and compare 8-second and 24-second records. Keep the analytical gain in view as the transient changes.

02

Locate the response peak.

At damping 0.12, move the frequency ratio around 1. Use the gain curve to inspect how the maximum shifts with damping.

03

Read phase as well as amplitude.

Compare ratios of 0.5 and 1.8. Describe where the displacement peaks occur relative to the normalized force.

Read the sources behind the model.

  1. University of Florida, Damped and Driven Harmonic Oscillator

    Computational physics notes develop the driven equation, damping behavior, and analytical frequency response.

Watch one model run.

12 seconds · Original model visualization · Silent

Forcing, damping, and response

Compare a finite driven motion with the response that persists after transients decay.

Read the explanation and method

A damped oscillator starts at rest and is driven sinusoidally at its natural frequency of 1 hertz. The damping ratio is 0.12.

Cream shows normalized displacement and orange shows the normalized applied force. The transient grows toward a periodic response.

The analytical steady-state gain is about 4.17. The displayed finite trajectory comes from fourth-order Runge-Kutta integration and may retain a transient.

Method. Integrate the normalized mass–spring equation with fourth-order Runge–Kutta steps of 1/240 second. The plotted trace keeps 60 samples per second. Separately calculate the analytical steady-state gain and phase for a continuously driven linear system.

Apply the model to a research question.

These dossiers explain how this experiment relates to a larger question, including the observation or comparison that the model leaves unresolved.

Try another experiment.