summaryrefslogtreecommitdiff
path: root/3834/CH10/EX10.2.2/Ex10_2_2.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3834/CH10/EX10.2.2/Ex10_2_2.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 '3834/CH10/EX10.2.2/Ex10_2_2.sce')
-rw-r--r--3834/CH10/EX10.2.2/Ex10_2_2.sce39
1 files changed, 39 insertions, 0 deletions
diff --git a/3834/CH10/EX10.2.2/Ex10_2_2.sce b/3834/CH10/EX10.2.2/Ex10_2_2.sce
new file mode 100644
index 000000000..9fd31f92c
--- /dev/null
+++ b/3834/CH10/EX10.2.2/Ex10_2_2.sce
@@ -0,0 +1,39 @@
+//Fiber-optics communication technology, by Djafer K. Mynbaev and Lowell L. Scheiner
+//Example 10.2.2
+//windows 7
+//Scilab version-6.0.0
+clc;
+clear ;
+//given
+
+//case 1
+lambda=840;//Operating wavelength in nm
+Eg=1248/lambda;//semiconductor bandgap in eV
+e=1.6E-19;//Electrons value in Coulomb
+V=Eg;//voltage in V
+R=1;//Reflectivity
+I=10E-3;//Current in A
+P1=I*I*R;
+P2=I*V;
+P3=P1+P2;
+Pout=1.25E-3;//Output power in W
+ETAp=Pout/P3;
+mprintf("Power Efficiency of a VCSEL diode = %.3f", ETAp);
+ETAP=ETAp*100;
+mprintf("\n Hence, Power Efficiency of a VCSEL diode = %.1f Percent ",ETAP);
+
+//case 2
+lambda2=1300;//Operating wavelength in nm
+Eg2=1248/lambda2;//semiconductor bandgap in eV
+e2=1.6E-19;//Electrons value in Coulomb
+V2=Eg2;//voltage in V
+R2=1.84;//Reflectivity
+I2=312E-3;//Current in A
+P11=I2*I2*R;
+P22=I2*V2;
+P33=P11+P22;
+Pout1=1E-3;//Output power in W
+ETAp1=Pout1/P33;
+mprintf("\nPower Efficiency of a broad area laser diode = %.3f", ETAp1);
+ETAP1=ETAp1*100;
+mprintf("\n Hence, Power Efficiency of a broad area laser diode = %.1f Percent ",ETAP1);//the answer vary due to rounding