summaryrefslogtreecommitdiff
path: root/3537/CH5/EX5.31
diff options
context:
space:
mode:
Diffstat (limited to '3537/CH5/EX5.31')
-rw-r--r--3537/CH5/EX5.31/Ex5_31.sce18
-rw-r--r--3537/CH5/EX5.31/Ex5_31.txt2
2 files changed, 20 insertions, 0 deletions
diff --git a/3537/CH5/EX5.31/Ex5_31.sce b/3537/CH5/EX5.31/Ex5_31.sce
new file mode 100644
index 000000000..ee3691321
--- /dev/null
+++ b/3537/CH5/EX5.31/Ex5_31.sce
@@ -0,0 +1,18 @@
+//Example 5_31
+clc();
+clear;
+//To find the lattice parameter and atomic diameter
+lamda=0.171 //units in nm
+theta1=30 //units in degrees
+theta2=35.283 //units in degrees
+d100=lamda/(2*sin(theta1*%pi/180))
+d200=lamda/(2*sin(theta2*%pi/180))
+h=1
+k=1
+l=0
+alpha1=d100*sqrt(h^2+k^2+l^2)
+alpha2=d200*sqrt(h^2+k^2+l^2)
+printf("As alpha1 != alpha2 that is %.3f!=%.3f \tMetal is not bee",alpha1,alpha2)
+a=0.296 //units in nm
+diam=a/(sqrt(h^2+k^2+l^2))
+printf("\nAtomic diameter is a=%.2f nm",diam)
diff --git a/3537/CH5/EX5.31/Ex5_31.txt b/3537/CH5/EX5.31/Ex5_31.txt
new file mode 100644
index 000000000..33b2816cd
--- /dev/null
+++ b/3537/CH5/EX5.31/Ex5_31.txt
@@ -0,0 +1,2 @@
+ As alpha1 != alpha2 that is 0.242!=0.209 Metal is not bee
+Atomic diameter is a=0.21 nm \ No newline at end of file