The equation of motion for a damped harmonic oscillator is given by:
$$
m\frac{d^2x}{dt^2} + c\frac{dx}{dt} + kx = 0
$$
where $m$ is the mass, $c$ is the damping coefficient, $k$ is the spring constant, and $x(t)$ is the displacement as a function of time.
Show more…