summaryrefslogtreecommitdiff
path: root/3014/CH3/EX3.10
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /3014/CH3/EX3.10
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 '3014/CH3/EX3.10')
-rwxr-xr-x3014/CH3/EX3.10/Ex3_10.sce11
-rwxr-xr-x3014/CH3/EX3.10/Ex3_10.txt3
2 files changed, 14 insertions, 0 deletions
diff --git a/3014/CH3/EX3.10/Ex3_10.sce b/3014/CH3/EX3.10/Ex3_10.sce
new file mode 100755
index 000000000..fee4c2953
--- /dev/null
+++ b/3014/CH3/EX3.10/Ex3_10.sce
@@ -0,0 +1,11 @@
+ clc
+//given that
+E = 100 // Energy of X ray beam in KeV
+theta = 30 // Scattering angle in degree
+m = 9.1e-31 // mass of electron in kg
+c = 3e8 // Speed of light in m/s
+printf("Example 3.10")
+E_rest = m*c^2/(1.6e-19*1e3) // Rest mass energy in KeV
+k = 1/E + (1-cos(theta*%pi/180))/(E_rest)
+del_e = E - 1/k // Energy of recoiled electron
+ printf("\n Energy of recoiled electron is %f KeV\n\n\n",del_e)
diff --git a/3014/CH3/EX3.10/Ex3_10.txt b/3014/CH3/EX3.10/Ex3_10.txt
new file mode 100755
index 000000000..332227ac7
--- /dev/null
+++ b/3014/CH3/EX3.10/Ex3_10.txt
@@ -0,0 +1,3 @@
+
+Example 3.10
+ Energy of recoiled electron is 2.550573 KeV \ No newline at end of file