diff options
Diffstat (limited to '3014/CH1/EX1.23/Ex1_23.sce')
-rwxr-xr-x | 3014/CH1/EX1.23/Ex1_23.sce | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/3014/CH1/EX1.23/Ex1_23.sce b/3014/CH1/EX1.23/Ex1_23.sce new file mode 100755 index 000000000..781d59fb9 --- /dev/null +++ b/3014/CH1/EX1.23/Ex1_23.sce @@ -0,0 +1,12 @@ +clc
+//Given that
+E = 200 // energy of electrons in eV
+x = 20 // distance of screen in cm
+D = 2 // diameter of ring in cm
+h = 6.62e-34 // Plank constant
+m = 9.1e-31 // Mass of electron in kg
+printf("Example 1.23")
+lambda = h/sqrt(2*m*E*1.6e-19) // Calculation of wavelength
+theta = atan(D/(2*x))
+d = lambda/(2*sin(theta))// calculation of interatomic spacing of crystal
+printf("\n Interatomic spacing of crystal is %f angstrom.\n\n\n",d*1e10)
|