summaryrefslogtreecommitdiff
path: root/1958/CH10/EX10.3/Chapter10_example3.sce
diff options
context:
space:
mode:
Diffstat (limited to '1958/CH10/EX10.3/Chapter10_example3.sce')
-rwxr-xr-x1958/CH10/EX10.3/Chapter10_example3.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/1958/CH10/EX10.3/Chapter10_example3.sce b/1958/CH10/EX10.3/Chapter10_example3.sce
new file mode 100755
index 000000000..25066cbfc
--- /dev/null
+++ b/1958/CH10/EX10.3/Chapter10_example3.sce
@@ -0,0 +1,11 @@
+clc
+clear
+//Input data
+d1=6000//Diffraction grating have number of lines per cm
+w=6000//Wavelength in Angstrom
+
+//Calculations
+n=(1/(d1*w*10^-8))//Maxmum order of diffraction
+
+//Output
+printf('Maximum order of diffraction that can be observed is %i',n)