- qspec. v_e_d1 ( e , m , v0=0 , relativistic=True )[source]
-
The first derivative
$$ \frac{\partial v}{\partial E} = \frac{1}{amv(E)},\quad a = \begin{cases}\left[\gamma(v_0) + \frac{E}{mc^2}\right]^3, & \text{relativistic}\\ 1, & \text{classical}\end{cases}. $$- Parameters:
-
- earray_like
The energy $E$ added to the kinetic energy of a body with velocity
v0(eV).- marray_like
The mass $m$ of the body (u).
- v0array_like
The initial velocity $v_0$ of the body (m/s).
- relativisticbool
The calculation is performed either relativistically (
True) or classically (False). The default isTrue.
- Returns:
-
- dv_dEndarray
The first derivative $\partial v / \partial E$ of the velocity $v(E)$ of a body with mass
mand velocityv0with respect to the added energye(m/(s eV)).