- qspec. e_kin ( v , m , relativistic=True )[source]
-
The kinetic energy
$$ E_\mathrm{kin} = \begin{cases}(\gamma(v) - 1)mc^2, & \text{relativistic}\\ \frac{1}{2}mv^2, & \text{classical}\end{cases}. $$- Parameters:
-
- varray_like
The velocity $v$ of a body (m/s).
- marray_like
The mass $m$ of the body (u).
- relativisticbool
The calculation is performed either relativistically (
True) or classically (False). The default isTrue.
- Returns:
-
- E_kinndarray
The kinetic energy $E_\mathrm{kin}$ of a body with velocity
vand massm(eV).