diff options
Diffstat (limited to '3537/CH5/EX5.24/Ex5_24.sce')
-rw-r--r-- | 3537/CH5/EX5.24/Ex5_24.sce | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/3537/CH5/EX5.24/Ex5_24.sce b/3537/CH5/EX5.24/Ex5_24.sce new file mode 100644 index 000000000..4959c6984 --- /dev/null +++ b/3537/CH5/EX5.24/Ex5_24.sce @@ -0,0 +1,12 @@ +//Example 5_24
+clc();
+clear;
+//To find the interplanar spacing and lamda
+n1=3
+lamda=97 //units in pm
+theta1=23 //units in degrees
+theta2=60 //units in degrees
+lamda1=(n1*lamda*sin(theta1*%pi/180))/(sin(theta2*%pi/180)) //units in pm
+d=(n1*lamda)/(2*sin(theta2*%pi/180))
+printf("lamda=%d pm",lamda1)
+printf("\n d=%d pm",d)
|