diff options
Diffstat (limited to '1172/CH3/EX3.10.1/Example3_10a.sce')
-rwxr-xr-x | 1172/CH3/EX3.10.1/Example3_10a.sce | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/1172/CH3/EX3.10.1/Example3_10a.sce b/1172/CH3/EX3.10.1/Example3_10a.sce new file mode 100755 index 000000000..01cdabbb5 --- /dev/null +++ b/1172/CH3/EX3.10.1/Example3_10a.sce @@ -0,0 +1,11 @@ +clc
+//Given that
+lambda = 0.52 // wavelength in angstrom
+theta = 5 // in degree
+n = 1 // order of brags reflection
+//Sample Problem 10 a Page No. 139
+printf("\n\n\n # Problem 10 a # \n")
+printf("\n Standard formula Used \n 2 * d * sin(theta) = n * lambda ")
+d = n * lambda / (2 * sin (theta * %pi / 180))
+//calculation of separation between adjacent layers of crystals
+printf ("\n Separation between adjacent layers of crystals is %f angstrom. ", d)
|