summaryrefslogtreecommitdiff
path: root/3869/CH7/EX7.8/Ex7_8.sce
diff options
context:
space:
mode:
Diffstat (limited to '3869/CH7/EX7.8/Ex7_8.sce')
-rw-r--r--3869/CH7/EX7.8/Ex7_8.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/3869/CH7/EX7.8/Ex7_8.sce b/3869/CH7/EX7.8/Ex7_8.sce
new file mode 100644
index 000000000..29633b67f
--- /dev/null
+++ b/3869/CH7/EX7.8/Ex7_8.sce
@@ -0,0 +1,14 @@
+clear
+//
+//
+//
+
+//Variable declaration
+lamda=1.5 //wavelength(AU)
+d=1.6 //lattice spacing(AU)
+
+//Calculation
+n=2*d/lamda //maximum order of diffraction
+
+//Result
+printf("\n maximum order of diffraction is %0.3f ",n)