Skip to content

Commit

Permalink
Adding the lifetimes example.
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewbellis committed Apr 21, 2015
1 parent 4430c15 commit 9463ee1
Show file tree
Hide file tree
Showing 3 changed files with 248 additions and 53 deletions.
18 changes: 9 additions & 9 deletions activities/hello_CMS.ipynb

Large diffs are not rendered by default.

109 changes: 65 additions & 44 deletions activities/learning_about_particles_1.ipynb
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"metadata": {
"name": ""
"name": "",
"signature": "sha256:8c0725eb8f29a99715cd1965a4261b1c47d505b22589f5b911e17829a6e55565"
},
"nbformat": 3,
"nbformat_minor": 0,
Expand All @@ -12,7 +13,7 @@
"level": 1,
"metadata": {},
"source": [
"Learning about particles and their properties."
"Lifetimes of the particles"
]
},
{
Expand All @@ -35,23 +36,23 @@
"\n",
"Every particle is unique. They each have different masses, lifetimes, decay methods and many other properties. \n",
"\n",
"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$. \n",
"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= vt. $ Where $v$ is the speed of light and $t$ is the lifetime of the particle. The speed of light is $3\\times10^8$ m/s$^2$. \n",
"\n",
"To find the distance travelled with different momenta you need to know, the particles momentum, mass, and lifetime. \n",
"\n",
"One concept in Einstein's <a href=\"http://en.wikipedia.org/wiki/Special_relativity\">special relativity</a> is <a href=\"http://en.wikipedia.org/wiki/Time_dilation\">time dilation</a>. 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. \n",
"\n",
"Some important equations you need to know are:\n",
"\n",
"$E = \\sqrt{(p*c)^2 + (m^2*c)^2}$\n",
"$E = \\sqrt{(pc)^2 + (mc^2)^2}$\n",
"\n",
"$\\beta = \\frac{v}{c}$\n",
"\n",
"$\\frac{p}{E} = \\frac{\\beta}{c}$\n",
"\n",
"$\\gamma = \\frac{1}{\\sqrt{1-\\beta^2}}$\n",
"\n",
"$t = \\gamma*t_0$"
"$t = \\gamma t_0$"
]
},
{
Expand All @@ -67,13 +68,15 @@
"cell_type": "code",
"collapsed": false,
"input": [
"particles = [\"B\",\"D\",\"J/Psi\"]\n",
"particles = [\"B+/-\",\"D+/-\",\"J/Psi\"]\n",
"\n",
"lifetimes = [4,5,2]\n",
"lifetimes = [1.64e-12,1.4e-12,7e-21]\n",
"\n",
"c = 3e8 # m/s\n",
"\n",
"for p,l in zip(particles,lifetimes):\n",
" distance = 3e8*l\n",
" print \"%-5s lifetime=%f distance=%f\" % (p,l,distance)"
" distance = c*l\n",
" print \"%-5s lifetime=%4.2f s distance=%4.2e m\" % (p,l,distance)"
],
"language": "python",
"metadata": {},
Expand All @@ -82,32 +85,32 @@
"output_type": "stream",
"stream": "stdout",
"text": [
"B lifetime=4.000000 distance=1200000000.000000\n",
"D lifetime=5.000000 distance=1500000000.000000\n",
"J/Psi lifetime=2.000000 distance=600000000.000000\n"
"B+/- lifetime=0.00 s distance=4.92e-04 m\n",
"D+/- lifetime=0.00 s distance=4.20e-04 m\n",
"J/Psi lifetime=0.00 s distance=2.10e-12 m\n"
]
}
],
"prompt_number": 33
"prompt_number": 1
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"<h3>Particles</h3>\n",
"<ul>\n",
" <li>mu+/mu-\n",
" <li>tau+/tau-\n",
" <li>pi+/pi-\n",
" <li>pi0\n",
" <li>K+/K-\n",
" <li>K(short)\n",
" <li>K(long)\n",
" <li>D+/D-\n",
" <li>B+/B-\n",
" <li>B0\n",
" <li>J/Psi\n",
" <li>Upsilon(1S)\n",
"<li>$\\mu^\\pm$\n",
" <li>$\\tau^\\pm$\n",
" <li>$\\pi^\\pm$\n",
" <li>$\\pi^0$\n",
" <li>$K^\\pm$\n",
" <li>$K^0_{\\rm short}$\n",
" <li>$K^0_{\\rm long}$\n",
" <li>$D^\\pm$\n",
" <li>$B^\\pm$\n",
" <li>$B0$\n",
" <li>$J/ \\psi$\n",
" <li>$\\Upsilon(1S)$\n",
"</ul>"
]
},
Expand All @@ -124,38 +127,56 @@
"cell_type": "code",
"collapsed": false,
"input": [
"particles = [\"B\",\"D\",\"J/Psi\"]\n",
"lifetimes = [4,5,2]\n",
"c = 3*(10**8)\n",
"for p,l in zip(particles,lifetimes):\n",
" distance = c*l\n",
" print \"%-5s lifetime=%f distance=%f\" % (p,l,distance)"
"# Your code here"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"B lifetime=4.000000 distance=1200000000.000000\n",
"D lifetime=5.000000 distance=1500000000.000000\n",
"J/Psi lifetime=2.000000 distance=600000000.000000\n"
]
}
"outputs": [],
"prompt_number": 11
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"The scale of many modern physics detectors ranges from the order of centimeters to 10's of meters. Given that information, what particles do you think will actually live long enough to travel <i>through</i> parts of the detector? "
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"# Your answer here"
],
"prompt_number": 34
"language": "python",
"metadata": {},
"outputs": [],
"prompt_number": 2
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Which particles will decay (on average) before they reach the detectors? This means that these particles have to be reconstructed from their decay products. "
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"#your code here"
"# Your answere here."
],
"language": "python",
"metadata": {},
"outputs": [],
"prompt_number": 1
"prompt_number": 3
},
{
"cell_type": "code",
"collapsed": false,
"input": [],
"language": "python",
"metadata": {},
"outputs": []
}
],
"metadata": {}
Expand Down
174 changes: 174 additions & 0 deletions activities/lifetimes.ipynb
Original file line number Diff line number Diff line change
@@ -0,0 +1,174 @@
{
"metadata": {
"name": "",
"signature": "sha256:40e281b39834860ff9fdb51c6c456cafa4ab4817d6adb554a14a0ae096bb0305"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
"cell_type": "heading",
"level": 1,
"metadata": {},
"source": [
"Lifetimes"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"<h3>Learning goals</h3>\n",
"<ul>\n",
" <li>Relativistic kinematics.\n",
" <li>Standard model particles.\n",
" <li>Special Relativity.\n",
"</ul>"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"<b>Background</b>\n",
"\n",
"Every particle is unique. They each have different masses, lifetimes, decay methods and many other properties. \n",
"\n",
"To find the distance a particle travels in one lifetime, you need to know the lifetime of the particle and the speed of the particle. The formula to find the distance travelled in one lifetime is $ d= vt. $ Where $v$ is the speed of light and $t$ is the lifetime of the particle. In many particle physics experiments, the particles are moving close to (but always less than!) the speed of light. \n",
"\n",
"For purposes of this exercise, let's assume that they are traveling at the the speed of light: $3\\times10^8$ m/s$^2$. \n",
"\n",
"<i>If you don't like the idea of them traveling at the speed of light, feel free to change the velocity below to 0.99c<i> &#x1F609;"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"<b>Let's code!</b>\n",
"\n",
"Here is a sample code that creates a table of the lifetime and distance traveled in one lifetime for three different particles."
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"particles = [\"B+/-\",\"D+/-\",\"J/Psi\"]\n",
"\n",
"lifetimes = [1.64e-12,1.4e-12,7e-21]\n",
"\n",
"c = 3e8 # m/s\n",
"\n",
"v = c\n",
"\n",
"for p,l in zip(particles,lifetimes):\n",
" distance = v*l\n",
" print \"%-5s lifetime=%4.2f s distance traveled=%4.2e m\" % (p,l,distance)"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"B+/- lifetime=0.00 s distance traveled=4.92e-04 m\n",
"D+/- lifetime=0.00 s distance traveled=4.20e-04 m\n",
"J/Psi lifetime=0.00 s distance traveled=2.10e-12 m\n"
]
}
],
"prompt_number": 8
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"<h3>Particles</h3>\n",
"<ul>\n",
"<li>$\\mu^\\pm$\n",
" <li>$\\tau^\\pm$\n",
" <li>$\\pi^\\pm$\n",
" <li>$\\pi^0$\n",
" <li>$K^\\pm$\n",
" <li>$K^0_{\\rm short}$\n",
" <li>$K^0_{\\rm long}$\n",
" <li>$D^\\pm$\n",
" <li>$B^\\pm$\n",
" <li>$B0$\n",
" <li>$J/ \\psi$\n",
" <li>$\\Upsilon(1S)$\n",
"</ul>"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"<h2><font color=\"red\">Challenge!</font></h2>\n",
"\n",
"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. "
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"# Your code here"
],
"language": "python",
"metadata": {},
"outputs": [],
"prompt_number": 3
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"The scale of many modern physics detectors ranges from the order of centimeters to 10's of meters. Given that information, what particles do you think will actually live long enough to travel <i>through</i> parts of the detector?"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"# Your code here"
],
"language": "python",
"metadata": {},
"outputs": []
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Which particles will decay (on average) before they reach the detectors? This means that these particles have to be reconstructed from their decay products. \n"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"# Your code here"
],
"language": "python",
"metadata": {},
"outputs": [],
"prompt_number": 5
},
{
"cell_type": "code",
"collapsed": false,
"input": [],
"language": "python",
"metadata": {},
"outputs": []
}
],
"metadata": {}
}
]
}

0 comments on commit 9463ee1

Please sign in to comment.