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.21 | |
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.21')
-rwxr-xr-x | 2780/CH3/EX3.21/Ex3_21.sce | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/2780/CH3/EX3.21/Ex3_21.sce b/2780/CH3/EX3.21/Ex3_21.sce new file mode 100755 index 000000000..758dfd3e6 --- /dev/null +++ b/2780/CH3/EX3.21/Ex3_21.sce @@ -0,0 +1,13 @@ +clc
+//to calculate angle of diffraction for third order spectrum and absent spectra if any
+n=3
+lambda=6000*10^-8
+eplusd=1/200
+theta=asind(n*lambda/eplusd)
+disp("angle of refraction is theta="+string(theta)+"degree")
+d=0.0025
+e=eplusd-d //width of wire in cm
+m=1
+n=eplusd*m/e
+disp("order of absent spectrum is n="+string(n)+"unitless")
+disp("here,m=1 is considered because the higher values of m result the order of absent spectrum more than the given order 3")
|