summaryrefslogtreecommitdiff
path: root/3840/CH3/EX3.8/Ex3_8.sce
diff options
context:
space:
mode:
Diffstat (limited to '3840/CH3/EX3.8/Ex3_8.sce')
-rw-r--r--3840/CH3/EX3.8/Ex3_8.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/3840/CH3/EX3.8/Ex3_8.sce b/3840/CH3/EX3.8/Ex3_8.sce
new file mode 100644
index 000000000..c965a1a19
--- /dev/null
+++ b/3840/CH3/EX3.8/Ex3_8.sce
@@ -0,0 +1,14 @@
+clear
+//
+//
+//
+
+//Variable declaration
+d=1.6 //lattice spacing(angstrom)
+theta=90*%pi/180 //glancing angle(radian)
+lamda=1.5 //wavelength of X-rays(angstrom)
+
+//Calculation
+n=2*d*sin(theta)/lamda //maximum order of diffraction
+
+//Result