diff options
Diffstat (limited to '3834/CH10/EX10.3.2/Ex10_3_2.sce')
-rw-r--r-- | 3834/CH10/EX10.3.2/Ex10_3_2.sce | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/3834/CH10/EX10.3.2/Ex10_3_2.sce b/3834/CH10/EX10.3.2/Ex10_3_2.sce new file mode 100644 index 000000000..3b611b7fb --- /dev/null +++ b/3834/CH10/EX10.3.2/Ex10_3_2.sce @@ -0,0 +1,29 @@ +//Fiber-optics communication technology, by Djafer K. Mynbaev and Lowell L. Scheiner
+//Example 10.3.2
+//windows 7
+//Scilab version-6.0.0
+clc;
+clear ;
+//given
+
+tau=2E-9;//Carrier recombination lifetime in s
+Ith=90E-3;//threshold current in A
+Ip=40E-3;//amplitude of modulation current in A
+//case 1
+Ib=80E-3;//Assumed bias current in A
+Td=tau*log(Ip/(Ip+Ib-Ith));
+
+mprintf("The delay time for broad-area laser diode with Ib %.2f mA= %.2f ns",Ib*1e3,Td*1E+9);
+//case 2
+Ib=70E-3;//Assumed bias current in A
+Td=tau*log(Ip/(Ip+Ib-Ith));
+
+mprintf("\nThe delay time for broad-area laser diode with Ib %.2f mA= %.2f ns",Ib*1e3,Td*1E+9);
+//case 3
+Ib=90E-3;//Assumed bias current in A
+Td=abs(tau*log(Ip/(Ip+Ib-Ith)));
+
+mprintf("\nThe delay time for broad-area laser diode with Ib %.2f mA= %.2f ns",Ib*1e3,Td*1E+9);
+//multiplication by 1e3 to convert unit to mA from A and multiplication by 1e9 to convert unit from s to ns
+
+//the answers vary due to rounding
|