summaryrefslogtreecommitdiff
path: root/Modern_Physics/Chapter15.ipynb
diff options
context:
space:
mode:
Diffstat (limited to 'Modern_Physics/Chapter15.ipynb')
-rwxr-xr-xModern_Physics/Chapter15.ipynb63
1 files changed, 63 insertions, 0 deletions
diff --git a/Modern_Physics/Chapter15.ipynb b/Modern_Physics/Chapter15.ipynb
new file mode 100755
index 00000000..d83185b4
--- /dev/null
+++ b/Modern_Physics/Chapter15.ipynb
@@ -0,0 +1,63 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:fbb8ae4f61a2f656bdccdaea83dd7c5e0f4029b53a892411eec2330f543018a0"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 15: Elementary Particles"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 15.5, page no. 570"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "\n",
+ "\n",
+ "#variable declaration\n",
+ "\n",
+ "mp = 938.3 #mass of proton (MeV/c^2)\n",
+ "mpi = 135 #mass of pion (MeV/c^2)\n",
+ "\n",
+ "#Calculation\n",
+ "\n",
+ "Kth = ((2*mp + mpi)**2 - (2*mp)**2)/(2*mp)\n",
+ "\n",
+ "#result\n",
+ "\n",
+ "print \"The kinetic energy of protons\",round(Kth),\"MeV.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The kinetic energy of protons 280.0 MeV.\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file