diff options
Diffstat (limited to '3411/CH5/EX5.5/Ex5_5.sce')
-rw-r--r-- | 3411/CH5/EX5.5/Ex5_5.sce | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/3411/CH5/EX5.5/Ex5_5.sce b/3411/CH5/EX5.5/Ex5_5.sce new file mode 100644 index 000000000..2dbc4f144 --- /dev/null +++ b/3411/CH5/EX5.5/Ex5_5.sce @@ -0,0 +1,9 @@ +//Example 5_5
+clc();
+clear;
+//To find out the interplanar spacing of the reflecting planes of the crystal
+theta=28 //units in degrees
+lamda=0.12 //units in nm
+n=2
+d=(n*lamda)/(2*sin(theta*(%pi/180)))
+printf("The interplanar spacing of the reflecting planes of the crystal is d=%.2fnm",d)
|