- qspec.e_kin ( v , m , relativistic = True )[source]
The kinetic energy $E_\mathrm{kin} = \begin{cases}(\gamma(v) - 1) mc^2, & \mathrm{True}\\ \frac{1}{2}mv^2 & \mathrm{False}\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:
-
- outndarray
The kinetic energy $E_\mathrm{kin}$ of a body with velocity
v
and massm
(eV).