diff options
author | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
commit | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch) | |
tree | dbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3822/CH5/EX5.4/Ex5_4.sce | |
parent | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff) | |
download | Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2 Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip |
initial commit / add all books
Diffstat (limited to '3822/CH5/EX5.4/Ex5_4.sce')
-rw-r--r-- | 3822/CH5/EX5.4/Ex5_4.sce | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/3822/CH5/EX5.4/Ex5_4.sce b/3822/CH5/EX5.4/Ex5_4.sce new file mode 100644 index 000000000..679f6485a --- /dev/null +++ b/3822/CH5/EX5.4/Ex5_4.sce @@ -0,0 +1,18 @@ + +//OptoElectronics and Fibre Optics Communication, by C.K Sarkar and B.C Sarkar
+//Example 5.5
+//OS=Windows 10
+////Scilab version Scilab 6.0.0-beta-2(64 bit)
+clc;
+clear;
+
+//given
+lamda=0.85*1e-6;//wavelength of GaAs in m
+n1=3.6;//refractive index
+L=200e-6//length of the cavity in m
+K=L*(2*n1)/lamda;//number of modes
+mprintf("\n Number of modes=%.0f ",K);//the answer vary due to rounding//multiplication by 1e6 to convert the unit to um
+u=2*n1*L;//partial product
+v=(lamda)^2;//partial product
+dellamda=v/u;//separation wavelength between the two mode in m
+mprintf("\nThe separation wavelength between the two mode=%.2f nm",dellamda*1e9);//multiplication by 1e9 to convert the unit to nm// the answer given in textbook is wrong the unit is nm but the textbook gives it as um
|