Exercises on Probability Density Functions

Exercises on Probability Density Functions#

1) Maxwell Distribution

The p.d.f. for the molecular velocity \(v\) (absolute value) in an ideal gas at the absolute Temperature \(T\) is given by the Maxwell–Boltzmann distribution:

\[ f(v,T,m)=\frac{dN}{N}=\left( \frac{m}{2\pi kT} \right)^{3/2} e^{-\frac{mv^2}{2kT}}\cdot 4\pi v^2 \]

With \(m\) being the mass of a molecule, \(k=1.38\cdot10^{-23}\) J/K the Boltzmann’s constant and \(N\) the total number of considered particles. Some of the properties of this distribution are:

  • mode: \(\sqrt{\frac{2kT}{m}}\)

  • mean: \(\sqrt{\frac{8kT}{\pi m}}\)

  • RMS: \(\sqrt{\frac{3kT}{m}}\)

Histogram the 50k values from the file maxwell.txt (8 digit ascii-file after unzipping). The data was generated for \(N_2\) molecules (\(m = 4.65 \cdot 10^{-26}\) kg at \(T= 300\) K).

1.1) Plot the p.d.f. on top of this histogram (do this also for T=600K).

1.2) Comment on the difference for mean, mode, variance extracted from data (both binned and unbinned) and the table table below. How do the results depend on the number of bins you choose? Can you compute the mode with unbinned data?

2) Gaussian

The energy of a certain particle is described by Gaussian distribution with \(\mu = 200\) GeV and \(\sigma = 2\) GeV. Draw the distribution and compute the following probabilities:
4.2.1) to produce a new particle with an energy of 205 GeV or more
4.2.2) to produce a new particle with an energy between 199 and 201 GeV
4.2.3) to independently produce two new particles with energies above 203 GeV