diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /2780/CH3/EX3.20 | |
download | Scilab-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.20')
-rwxr-xr-x | 2780/CH3/EX3.20/Ex3_20.sce | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/2780/CH3/EX3.20/Ex3_20.sce b/2780/CH3/EX3.20/Ex3_20.sce new file mode 100755 index 000000000..d5aa37d94 --- /dev/null +++ b/2780/CH3/EX3.20/Ex3_20.sce @@ -0,0 +1,12 @@ +clc
+//to calculate grating element
+//grating equation for principal maxima is given by (e+d)*sintheta=n*lambda
+//let nth order spectrum for yellow line (lambda=6000 angstrom) coincide with (n+1)th order spectrum for blue line (lambda=4800 angstrom)
+//(e+d)*sintheta=n*6000*10^-8..eq(1)
+//(e+d)*sintheta=(n+1)*4800*10^-8.....eq(2)
+//from eq(1) and eq(2),we get n=4
+n=4
+lambda=6000*10^-8 //wavelength in cm
+sintheta=3/4
+eplusd=n*lambda/sintheta
+disp("grating element is eplusd="+string(eplusd)+"cm")
|