summaryrefslogtreecommitdiff
path: root/3537/CH5/EX5.19
diff options
context:
space:
mode:
Diffstat (limited to '3537/CH5/EX5.19')
-rw-r--r--3537/CH5/EX5.19/Ex5_19.sce13
-rw-r--r--3537/CH5/EX5.19/Ex5_19.txt1
2 files changed, 14 insertions, 0 deletions
diff --git a/3537/CH5/EX5.19/Ex5_19.sce b/3537/CH5/EX5.19/Ex5_19.sce
new file mode 100644
index 000000000..ccb7010ed
--- /dev/null
+++ b/3537/CH5/EX5.19/Ex5_19.sce
@@ -0,0 +1,13 @@
+//Example 5_19
+clc();
+clear;
+//To compute the cube edge of unit cell
+n=1
+lamda=1.54*10^-10 //units in meters
+theta=19.2 //units in degrees
+d=(n*lamda)/(2*sin(theta*%pi/180))
+h=1
+k=1
+l=1
+a=d*sqrt(h^2+k^2+k^2)*10^10 //units in A
+printf("Cube edge of unit cell a=%.2f A",a)
diff --git a/3537/CH5/EX5.19/Ex5_19.txt b/3537/CH5/EX5.19/Ex5_19.txt
new file mode 100644
index 000000000..8fb8bb4a8
--- /dev/null
+++ b/3537/CH5/EX5.19/Ex5_19.txt
@@ -0,0 +1 @@
+Cube edge of unit cell a=4.06 A \ No newline at end of file