summaryrefslogtreecommitdiff
path: root/1172/CH1/EX1.27
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1172/CH1/EX1.27
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 '1172/CH1/EX1.27')
-rwxr-xr-x1172/CH1/EX1.27/1_27.txt5
-rwxr-xr-x1172/CH1/EX1.27/Example1_27.sce20
2 files changed, 25 insertions, 0 deletions
diff --git a/1172/CH1/EX1.27/1_27.txt b/1172/CH1/EX1.27/1_27.txt
new file mode 100755
index 000000000..931fe6c37
--- /dev/null
+++ b/1172/CH1/EX1.27/1_27.txt
@@ -0,0 +1,5 @@
+ # Problem 27 #
+
+ Standard formula used
+ lambda / d_lambda = n*N)
+Grating will well resolve two spectral lines.
diff --git a/1172/CH1/EX1.27/Example1_27.sce b/1172/CH1/EX1.27/Example1_27.sce
new file mode 100755
index 000000000..1d7cf310e
--- /dev/null
+++ b/1172/CH1/EX1.27/Example1_27.sce
@@ -0,0 +1,20 @@
+clc
+// Given That
+lambda1 = 5.9e-5 // wavelength in cm
+lambda2 = 5.896e-5 //wavelength in cm
+lambda = 5.89e-5 // wavelength in cm
+grating_element = 4000 // lines per cm
+t = 4 // width of grating in cm
+n = 1 // for first order spectrum
+//Sample Problem 27 Page No. 58
+printf("\n # Problem 27 # \n")
+printf(" \n Standard formula used \n lambda / d_lambda = n*N”)\n")
+
+N = t * grating_element
+ Resolv_pow = lambda /(lambda2 - lambda)
+ N = Resolv_pow / n
+
+ if (grating_element > N ) then
+ printf("Grating will well resolve two spectral lines. \n")
+ end
+