summaryrefslogtreecommitdiff
path: root/2780/CH3/EX3.19
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2780/CH3/EX3.19
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 '2780/CH3/EX3.19')
-rwxr-xr-x2780/CH3/EX3.19/Ex3_19.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/2780/CH3/EX3.19/Ex3_19.sce b/2780/CH3/EX3.19/Ex3_19.sce
new file mode 100755
index 000000000..9844e9764
--- /dev/null
+++ b/2780/CH3/EX3.19/Ex3_19.sce
@@ -0,0 +1,12 @@
+clc
+//to calculate which spectral line in 5th order will overlap with 4th order line of 5890 angstrom
+//the grating equation for principal maxima is (e+d)*sin theta =n*lambda
+n1=5
+ //order of spectrum
+n2=4
+lambda2=5890*10^-8 //wavelength of 4th order spectrum in cm
+//(e+d)*sin theta=5*lambda-------------eq(1)
+//(e+d)*sin theta=4*5890*10^-8-----------------eq(2)
+//from eq(1) and eq(2) ,we get
+lambda1=n2*lambda2/n1
+disp("wavelength of 5th order spectrum is lambda1="+string(lambda1)+"cm")