summaryrefslogtreecommitdiff
path: root/3537/CH5/EX5.24
diff options
context:
space:
mode:
Diffstat (limited to '3537/CH5/EX5.24')
-rw-r--r--3537/CH5/EX5.24/Ex5_24.sce12
-rw-r--r--3537/CH5/EX5.24/Ex5_24.txt2
2 files changed, 14 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)
diff --git a/3537/CH5/EX5.24/Ex5_24.txt b/3537/CH5/EX5.24/Ex5_24.txt
new file mode 100644
index 000000000..2b147339d
--- /dev/null
+++ b/3537/CH5/EX5.24/Ex5_24.txt
@@ -0,0 +1,2 @@
+ lamda=131 pm
+ d=168 pm \ No newline at end of file