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.22 | |
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.22')
-rwxr-xr-x | 2780/CH3/EX3.22/Ex3_22.sce | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/2780/CH3/EX3.22/Ex3_22.sce b/2780/CH3/EX3.22/Ex3_22.sce new file mode 100755 index 000000000..1b56e2b62 --- /dev/null +++ b/2780/CH3/EX3.22/Ex3_22.sce @@ -0,0 +1,10 @@ +clc
+//to calculate difference in the two wavelengths
+//grating equation for principal maxima is (e+d)*sintheta=n*lambda...............eq(1)
+//differentiate both sides ,we get dtheta=n*dlambda/((e+d)*costheta)...........eq(2)
+lambda=5000 //mean value of wavelengths in angstrom
+cottheta=1.732 //cot30degree=1.732
+dtheta=0.01 //in radian
+//put the value of n from eq(2),we can write eq(2)
+dlambda=lambda*dtheta*cottheta
+disp("difference in two wavelengths is dlambda="+string(dlambda)+"angstrom")
|