Oscillation (source code)

= Oscillation
{wiki}

An <oscillation> is repeated variation around a central state, such as the <displacement> of a mass on a <spring>, the <pressure> near a vibrating source or the <electric field> in a <light> signal. In <simple harmonic motion>,
$$
x(t)=A\cos(\omega t+\phi),
$$
the <amplitude> $A$, <angular frequency> $\omega$ and <wave phase> $\phi$ specify the motion. The <period of an oscillation> is $T=2\pi/\omega$ for $\omega>0$.

A mechanical <oscillator> repeatedly exchanges <kinetic energy> and <potential energy>. <Damping> removes mechanical <energy>, while a periodic applied <force> can replenish it and produce <resonance>. Not all <oscillations> are sinusoidal or keep constant <amplitude>; <anharmonicity> can make the <period of an oscillation> depend on <amplitude>. Measuring successive peaks in a recorded trace distinguishes the repetition time from the rate at which the envelope decays.