Background
Every particle is unique. They each have different masses, lifetimes, decay methods and many other properties.
To find the distance a particle travels in one lifetime, you need to know the lifetime of the particle and the speed of light. The formula to find the distance travelled in one lifetime is $ d= v*t. $ Where $v$ is the speed of light and $t$ is the lifetime of the particle. The speed of light is $3*10^8 m/s^2$.
To find the distance travelled with different momenta you need to know, the particles momentum, mass, and lifetime.
One concept in Einstein's special relativity is time dilation. This means moving clocks are measured to tick more slowly than an observer's "stationary" clock. This concept needs to be kept in mind when solving for the distance travelled at high velocities.
Some important equations you need to know are:
$E = \sqrt{(p*c)^2 + (m^2*c)^2}$
$\beta = \frac{v}{c}$
$\frac{p}{E} = \frac{\beta}{c}$
$\gamma = \frac{1}{\sqrt{1-\beta^2}}$
$t = \gamma*t_0$
Let's code!
Here is a sample code that creates a table of the lifetime and distance traveled in one lifetime for three different particles.
In [33]:
particles = ["B","D","J/Psi"]
lifetimes = [4,5,2]
for p,l in zip(particles,lifetimes):
distance = 3e8*l
print "%-5s lifetime=%f distance=%f" % (p,l,distance)
Finish the table for every particle listed above with an output of the particles name, the lifetime, the mass, the distance travelled in one lifetime, the momentum, and how far the travel in one lifetime given different momentum.
In [34]:
particles = ["B","D","J/Psi"]
lifetimes = [4,5,2]
c = 3*(10**8)
for p,l in zip(particles,lifetimes):
distance = c*l
print "%-5s lifetime=%f distance=%f" % (p,l,distance)
In [1]:
#your code here