Skip to content

Commit 5aba01b

Browse files
committed
Fix review issue
1 parent e6ed32e commit 5aba01b

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Diff for: physics/speeds_of_gas_molecules.py

+8
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
speeds of particles in an ideal gas.
66
77
The distribution is given by the following equation:
8+
f(v) = (M/2πRT)^(3/2) * 4πv^2 * e^(-Mv^2/2RT)
9+
810
.. math:: f(v) = \left(\frac{M}{2 \pi RT}\right)^{\frac{3}{2}} \cdot 4 \pi v^2
911
\cdot e^{-\frac{Mv^2}{2RT}}
1012
@@ -20,19 +22,25 @@
2022
The average speed can be calculated by integrating the Maxwell-Boltzmann distribution
2123
from 0 to infinity and dividing by the total number of molecules. The result is:
2224
25+
v_avg = √(8RT/πM)
26+
2327
.. math:: v_{avg} = \sqrt{\frac{8RT}{\pi M}}
2428
2529
The most probable speed is the speed at which the Maxwell-Boltzmann distribution
2630
is at its maximum. This can be found by differentiating the Maxwell-Boltzmann
2731
distribution with respect to :math:`v` and setting the result equal to zero.
2832
The result is:
2933
34+
v_mp = √(2RT/M)
35+
3036
.. math:: v_{mp} = \sqrt{\frac{2RT}{M}}
3137
3238
The root-mean-square speed is another measure of the average speed
3339
of the molecules in a gas. It is calculated by taking the square root
3440
of the average of the squares of the speeds of the molecules. The result is:
3541
42+
v_rms = √(3RT/M)
43+
3644
.. math:: v_{rms} = \sqrt{\frac{3RT}{M}}
3745
3846
Here we have defined functions to calculate the average and

0 commit comments

Comments
 (0)