summaryrefslogtreecommitdiff
path: root/3014/CH3/EX3.14/Ex3_14.sce
diff options
context:
space:
mode:
Diffstat (limited to '3014/CH3/EX3.14/Ex3_14.sce')
-rwxr-xr-x3014/CH3/EX3.14/Ex3_14.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/3014/CH3/EX3.14/Ex3_14.sce b/3014/CH3/EX3.14/Ex3_14.sce
new file mode 100755
index 000000000..eeb0c7a07
--- /dev/null
+++ b/3014/CH3/EX3.14/Ex3_14.sce
@@ -0,0 +1,14 @@
+ clc
+//given that
+lambda = 1 //let wavelength in angstrom
+lambda_n = 2*lambda // recoiled electron wavelength
+h = 6.63e-34 // Planks constant
+m_e = 9.1e-31 // mass of electron in kg
+c = 3e8 // speed of light in m/sec
+theta = 90 // angle for longest passing wavelength
+printf("Example 3.14")
+lambda = h*1e10/(m_e*c) // calculation of wavelength in angstrom
+E = h*c*1e10/(lambda*1.6e-19) // calculation of energy of electron
+
+printf("\nWavelength shift is %f angstrom. ",lambda)
+printf("\nEnergy of recoiled electron is %f KeV. \n\n\n",E/1e3)