diff options
Diffstat (limited to '3822/CH5/EX5.7/Ex5_7.sce')
-rw-r--r-- | 3822/CH5/EX5.7/Ex5_7.sce | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/3822/CH5/EX5.7/Ex5_7.sce b/3822/CH5/EX5.7/Ex5_7.sce new file mode 100644 index 000000000..f21c2d09c --- /dev/null +++ b/3822/CH5/EX5.7/Ex5_7.sce @@ -0,0 +1,19 @@ + +//OptoElectronics and Fibre Optics Communication, by C.K Sarkar and B.C Sarkar
+//Example 5.7
+//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
+K=1700//number of modes
+L=K*lamda/(2*n1);//length of the cavity in m
+mprintf("\n Length of cavity in the laser=%.0f um",L*1e6);//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
+
|