# 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 driven spring harmonic oscillator experiences an external time-dependent force driving the system.

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

## 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"
Ad driving amplitude "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]=