summaryrefslogtreecommitdiff
path: root/1004/CH12/EX12.12
diff options
context:
space:
mode:
Diffstat (limited to '1004/CH12/EX12.12')
-rwxr-xr-x1004/CH12/EX12.12/Ch12Ex12.sci9
1 files changed, 9 insertions, 0 deletions
diff --git a/1004/CH12/EX12.12/Ch12Ex12.sci b/1004/CH12/EX12.12/Ch12Ex12.sci
new file mode 100755
index 000000000..a242422c4
--- /dev/null
+++ b/1004/CH12/EX12.12/Ch12Ex12.sci
@@ -0,0 +1,9 @@
+// Scilab Code Ex12.12 Minimum energy of gamma photon for pair production: Pg: 250 (2008)
+c = 3.0e+08; // Speed of light, m/s
+me = 9.1e-031; // Mass of electron, kg
+e = 1.6e-019; // Energy equivalent of 1 eV, J/eV
+mp = me; // Mass of positron, kg
+U = (me+mp)*c^2/(e*1e+06); // Energy of gamma-ray photon, MeV
+printf("\nThe energy of gamma-ray photon = %5.3f MeV", U);
+// Result
+// The energy of gamma-ray photon = 1.024 MeV \ No newline at end of file