summaryrefslogtreecommitdiff
path: root/1883/CH2/EX2.4.1
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1883/CH2/EX2.4.1
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '1883/CH2/EX2.4.1')
-rwxr-xr-x1883/CH2/EX2.4.1/Example2_8.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/1883/CH2/EX2.4.1/Example2_8.sce b/1883/CH2/EX2.4.1/Example2_8.sce
new file mode 100755
index 000000000..32cfcca7b
--- /dev/null
+++ b/1883/CH2/EX2.4.1/Example2_8.sce
@@ -0,0 +1,15 @@
+//Chapter-2,Example2_4_1,pg 2-24
+
+wavelength_1=5000 //wavelength of light
+
+wavelength_2=7000 //wavelength of light
+
+N=4000 //number of lines per cm
+
+m_1=1/((wavelength_1*10^-8)*N) //for wavelength= 5000 A.
+
+m_2=1/((wavelength_2*10^-8)*N) //for wavelength= 7000 A.
+
+printf('\nnumber of orders visible for 7000*10^-10 meter are %.2f\n',m_2)
+
+printf('\nnumber of orders visible for 5000*10^-10 meter are %.1f\n',m_1)