summaryrefslogtreecommitdiff
path: root/1694/CH1/EX1.31/EX1_31.sce
diff options
context:
space:
mode:
Diffstat (limited to '1694/CH1/EX1.31/EX1_31.sce')
-rw-r--r--1694/CH1/EX1.31/EX1_31.sce18
1 files changed, 18 insertions, 0 deletions
diff --git a/1694/CH1/EX1.31/EX1_31.sce b/1694/CH1/EX1.31/EX1_31.sce
new file mode 100644
index 000000000..fe8f45456
--- /dev/null
+++ b/1694/CH1/EX1.31/EX1_31.sce
@@ -0,0 +1,18 @@
+clear;
+clc;
+printf("\nEx1.31\n");
+//page no.-38
+//given
+n=1;..........//order
+theta=34;....//angle in degrees
+h=2;
+k=0;
+l=2;
+lambda=1.5*10^-10;......//wavelength in m
+//By bragg's law
+
+d=(n*lambda)/(2*sind(theta))......//interplanar spacing in m
+
+a=d*sqrt(h^2+k^2+l^2).............//lattice constant in m
+
+printf("\nlattice constant is 3.773 angstrom \n");