summaryrefslogtreecommitdiff
path: root/3537/CH5/EX5.20
diff options
context:
space:
mode:
Diffstat (limited to '3537/CH5/EX5.20')
-rw-r--r--3537/CH5/EX5.20/Ex5_20.sce15
-rw-r--r--3537/CH5/EX5.20/Ex5_20.txt2
2 files changed, 17 insertions, 0 deletions
diff --git a/3537/CH5/EX5.20/Ex5_20.sce b/3537/CH5/EX5.20/Ex5_20.sce
new file mode 100644
index 000000000..90a367514
--- /dev/null
+++ b/3537/CH5/EX5.20/Ex5_20.sce
@@ -0,0 +1,15 @@
+//Example 5_20
+clc();
+clear;
+//To compute the cube edge of unit cell
+n=1
+lamda=1.54*10^-10 //units in m
+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)
+printf("Cube edge of unit cell a=")
+disp(a)
+printf("meters")
diff --git a/3537/CH5/EX5.20/Ex5_20.txt b/3537/CH5/EX5.20/Ex5_20.txt
new file mode 100644
index 000000000..8b6810b89
--- /dev/null
+++ b/3537/CH5/EX5.20/Ex5_20.txt
@@ -0,0 +1,2 @@
+ Cube edge of unit cell a=
+ 4.055D-10 meters \ No newline at end of file