summaryrefslogtreecommitdiff
path: root/3537/CH5/EX5.23/Ex5_23.sce
diff options
context:
space:
mode:
Diffstat (limited to '3537/CH5/EX5.23/Ex5_23.sce')
-rw-r--r--3537/CH5/EX5.23/Ex5_23.sce9
1 files changed, 9 insertions, 0 deletions
diff --git a/3537/CH5/EX5.23/Ex5_23.sce b/3537/CH5/EX5.23/Ex5_23.sce
new file mode 100644
index 000000000..e653a892f
--- /dev/null
+++ b/3537/CH5/EX5.23/Ex5_23.sce
@@ -0,0 +1,9 @@
+//Example 5_23
+clc();
+clear;
+//To find the interplanar spacing
+n=2
+lamda=0.12 //units in nm
+theta=28 //units in degrees
+d=(n*lamda)/(2*sin(theta*%pi/180))
+printf("Interplanar spacong d=%.2f nm",d)