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 /1949/CH2/EX2.26 | |
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 '1949/CH2/EX2.26')
-rwxr-xr-x | 1949/CH2/EX2.26/2_26.sce | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/1949/CH2/EX2.26/2_26.sce b/1949/CH2/EX2.26/2_26.sce new file mode 100755 index 000000000..e39e68262 --- /dev/null +++ b/1949/CH2/EX2.26/2_26.sce @@ -0,0 +1,15 @@ +//Chapter-2,Example 2_26,Page 2-48
+clc()
+
+//Given Data:
+m=2 //order
+lam=6*10^-7 //Wavelength of light
+dlam=6*10^-10 //difference in wavelength
+W=2*10^-2 //Width of surface
+
+//Calculations:
+
+//We know that R.P.=lam/dlam=m*N
+N=lam/dlam/m //Number of lines on grating
+GE=W/N //Grating element=(a+b)
+printf('Grating element is = %.6f cm \n \n',GE)
|