# Damped Driven Spring Harmonic Oscillator

A spring harmonic oscillator is a spring that, when displaced from its equilibrium position, experiences a restoring force proportional to the displacement. A damped driven spring harmonic oscillator experiences a frictional force (damping) proportional to the velocity, as well as an external time-dependent force driving the system.

The angular frequency for a damped driven harmonic oscillator equals the driving angular frequency as well as 2\[Pi] times the frequency. The frequency equals the reciprocal of the period. The amplitude is directly proportional to the driving amplitude, and maximizes when the natural angular frequency equals the driving frequency. The damping ratio decreases the amplitude. The phase depends on the difference between the natural angular frequency and driving frequency, adjusted by the damping ratio. The natural angular frequency equals the square root of the ratio between the spring constant and the mass.

## Formula

symbol description physical quantity
ω angular frequency "AngularFrequency"
ωd driving angular frequency "AngularFrequency"
ω0 natural angular frequency "AngularFrequency"
k spring constant "SpringConstant"
m mass "Mass"
f frequency "Frequency"
T period "Period"
A amplitude "Unitless"
ζ damping ratio "Unitless"
ϕ phase "Angle"

## Examples

Get the resource:

 In[1]:=
 Out[1]=

Get the formula:

 In[2]:=
 Out[2]=

Use some values:

 In[3]:=
 Out[3]=