sound_speed

Physics.Constants.sound_speed(T, M, f=3)

sound speed for atomic particles

Note: This is an MKS calculation with k in J/K, T in K and M*m_u in kg.

:param T : temperature in K :type T : float

:param M : mean atomic (molecular) weight :type M : float or int

:param f : degrees of freedom (=3 for atoms, 5 for non-vibrating molecules) :type f : int

Returns

sound speed in m/s