summaryrefslogtreecommitdiff
path: root/3834/CH13/EX13.2.1
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3834/CH13/EX13.2.1
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '3834/CH13/EX13.2.1')
-rw-r--r--3834/CH13/EX13.2.1/Ex13_2_1.jpgbin0 -> 226814 bytes
-rw-r--r--3834/CH13/EX13.2.1/Ex13_2_1.sce27
2 files changed, 27 insertions, 0 deletions
diff --git a/3834/CH13/EX13.2.1/Ex13_2_1.jpg b/3834/CH13/EX13.2.1/Ex13_2_1.jpg
new file mode 100644
index 000000000..0e0dbdce6
--- /dev/null
+++ b/3834/CH13/EX13.2.1/Ex13_2_1.jpg
Binary files differ
diff --git a/3834/CH13/EX13.2.1/Ex13_2_1.sce b/3834/CH13/EX13.2.1/Ex13_2_1.sce
new file mode 100644
index 000000000..f18d08b29
--- /dev/null
+++ b/3834/CH13/EX13.2.1/Ex13_2_1.sce
@@ -0,0 +1,27 @@
+//Fiber Optics Communication Technology, by Djafer K. Mynbaev and Lovell L.scheiner
+//Windows 8
+//Scilab version- 6.0.0
+//Example 13.2.1
+clc;
+clear ;
+//given
+
+//case 1
+lambda1=1540.56E-9;//wavelength in m
+lambda2=1541.35E-9;//wavelength in m
+d=5E-6;//grating pitch in m
+
+x=lambda1/d;
+theta1=asind(x);////Angle of separation in deg
+y=lambda2/d;
+theta2=asind(y);//Angle of separation in deg
+
+Asep=theta2-theta1;//Angle of separation in deg
+mprintf("Angle of separation = %.3f deg.",Asep);
+
+//case 2
+
+z=tand(theta2)-tand(theta1);
+L=245E-6/z;//Length required to separate wavelength in m
+
+mprintf("\nLength required to separate wavelength = %.3f m",L);//the answer vary due to rounding