summaryrefslogtreecommitdiff
path: root/2309/CH4/EX4.a.3
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2309/CH4/EX4.a.3
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '2309/CH4/EX4.a.3')
-rwxr-xr-x2309/CH4/EX4.a.3/A_Ex4_3.sce28
1 files changed, 28 insertions, 0 deletions
diff --git a/2309/CH4/EX4.a.3/A_Ex4_3.sce b/2309/CH4/EX4.a.3/A_Ex4_3.sce
new file mode 100755
index 000000000..9966e5263
--- /dev/null
+++ b/2309/CH4/EX4.a.3/A_Ex4_3.sce
@@ -0,0 +1,28 @@
+// Chapter 4 Additional Example 3
+//==============================================================================
+clc;
+clear;
+
+// input data
+Ei = 1.02*10^6 // photon energy in eV
+theta = 90; // scattered angle in degrees
+h = 6.625*10^-34 // plancks constant
+mo = 9.1*10^-31 // mass of electron in Kg
+e = 1.6*10^-19 // charge of electron
+c = 3*10^8; // vel. of light in m/s
+
+// Calculatioms
+// from Compton theory ,Compton shift is given by
+// lamda' - lamda = (h/(mo*c))*(1-cosθ)
+theta_r = theta*%pi/180; // degree to radian conversion
+c_lamda = ( (h/(mo*c))*(1-cos(theta_r))) // Change in wavelength in m
+dv = c/c_lamda; // change in frequency of the scattered photon
+dE = (h*dv)/e // change in energy of scattered photon in eV
+// This change in energy is transferred as the KE of the recoil electron
+Er = dE; // Energy of recoil electron
+Es = Ei - Er // Energy of scattered photon
+
+
+// Output
+mprintf('Energy of the recoil electron = %3.4f MeV\n Energy of the Scattered photon = %3.4f MeV',Er*10^-6,Es*10^-6);
+//==============================================================================