summaryrefslogtreecommitdiff
path: root/3537/CH5/EX5.6
diff options
context:
space:
mode:
Diffstat (limited to '3537/CH5/EX5.6')
-rw-r--r--3537/CH5/EX5.6/Ex5_6.sce20
-rw-r--r--3537/CH5/EX5.6/Ex5_6.txt3
2 files changed, 23 insertions, 0 deletions
diff --git a/3537/CH5/EX5.6/Ex5_6.sce b/3537/CH5/EX5.6/Ex5_6.sce
new file mode 100644
index 000000000..c34d79b6b
--- /dev/null
+++ b/3537/CH5/EX5.6/Ex5_6.sce
@@ -0,0 +1,20 @@
+//Example 5_6
+clc();
+clear;
+//To calculate the inter planar spacing
+//For theta=6.45
+theta=6.45 //units in degrees
+lamda=0.58 //units in Armstrongs
+d_n=lamda/sin(6.45*%pi/180) //units in Armstrongs
+printf("Inter planara spacing at %.2fDegrees is d/n=%.3f Armstrongs",theta,d_n)
+//For theta=9.15
+theta=9.15 //units in degrees
+lamda=0.58 //units in Armstrongs
+d_n=lamda/sin(9.15*%pi/180) //units in Armstrongs
+printf("\nInter planara spacing at %.2fDegrees is d/n=%.3f Armstrongs",theta,d_n)
+//For theta=13
+theta=13 //units in degrees
+lamda=0.58 //units in Armstrongs
+d_n=lamda/sin(13*%pi/180) //units in Armstrongs
+printf("\nInter planara spacing at %.2fDegrees is d/n=%.3f Armstrongs",theta,d_n)
+//In text book the answers are printed wrong as 2.568A, 1.817A,1.288A the correct answers are 5.163A,3.647A,2.578A
diff --git a/3537/CH5/EX5.6/Ex5_6.txt b/3537/CH5/EX5.6/Ex5_6.txt
new file mode 100644
index 000000000..a3a9ef3a6
--- /dev/null
+++ b/3537/CH5/EX5.6/Ex5_6.txt
@@ -0,0 +1,3 @@
+ Inter planara spacing at 6.45Degrees is d/n=5.163 Armstrongs
+Inter planara spacing at 9.15Degrees is d/n=3.647 Armstrongs
+Inter planara spacing at 13.00Degrees is d/n=2.578 Armstrongs \ No newline at end of file