summaryrefslogtreecommitdiff
path: root/3822/CH5/EX5.6/Ex5_6.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3822/CH5/EX5.6/Ex5_6.sce
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 '3822/CH5/EX5.6/Ex5_6.sce')
-rw-r--r--3822/CH5/EX5.6/Ex5_6.sce25
1 files changed, 25 insertions, 0 deletions
diff --git a/3822/CH5/EX5.6/Ex5_6.sce b/3822/CH5/EX5.6/Ex5_6.sce
new file mode 100644
index 000000000..023e2df79
--- /dev/null
+++ b/3822/CH5/EX5.6/Ex5_6.sce
@@ -0,0 +1,25 @@
+
+//OptoElectronics and Fibre Optics Communication, by C.K Sarkar and B.C Sarkar
+//Example 5.6
+//OS=Windows 10
+////Scilab version Scilab 6.0.0-beta-2(64 bit)
+clc;
+clear;
+
+//given
+T1=273+20;//first temperature for an AlGaAs injection laser diode in kelvin
+T2=273+80;//second temperature for an AlGaAs injection laser diode in kelvin
+T01=160;//first thershold temperature in kelvin
+T02=55;//second thershold temperature in kelvin;
+
+//case 1:
+Jth120C=exp(T1/T01);
+Jth180C=exp(T2/T01);
+Jth1=Jth180C/Jth120C;
+mprintf("\n The ratio of threshold current densities for AlGaAs=%.2f",Jth1);//the answer vary due to rounding
+
+//case 2:
+Jth220C=exp(T1/T02);
+Jth280C=exp(T2/T02);
+Jth2=Jth280C/Jth220C;
+mprintf("\n The ratio threshold current densities for InGaAs=%.2f",Jth2);