summaryrefslogtreecommitdiff
path: root/3547/CH6/EX6.7/EX6_7.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3547/CH6/EX6.7/EX6_7.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 '3547/CH6/EX6.7/EX6_7.sce')
-rw-r--r--3547/CH6/EX6.7/EX6_7.sce40
1 files changed, 40 insertions, 0 deletions
diff --git a/3547/CH6/EX6.7/EX6_7.sce b/3547/CH6/EX6.7/EX6_7.sce
new file mode 100644
index 000000000..db5a0bf63
--- /dev/null
+++ b/3547/CH6/EX6.7/EX6_7.sce
@@ -0,0 +1,40 @@
+// Example 6.6
+// Calculation of (a) the saturation power and (b) the bias current I
+// Page no 273
+
+clc;
+clear;
+close;
+
+//Given data
+
+c=3*10^8; // Velocity of light
+lambda=1530*10^-9; // Wavelength
+t=0.3 // Overlap factor
+r=7.3*10^-20; // Gain cross section
+r0=1*10^-9; // Carrier lifetime
+q=1.609*10^-19;
+v=7.5*10^-16; // Active volume
+h=6.63*10^-34 // Planck constant
+A=5*10^-6; // Effective area
+g=4.82*10^3; // Small signal gain coeffifient
+N=3.5*10^23; //
+
+// (a) the saturation power and
+
+
+f=c/lambda;
+Ps=(h*f*A)/(t*r*r0);
+Ps=Ps*10^-3;
+
+// (b) the bias current I
+
+I=(g/(r*r0)+N/r0)*q*v;
+I=I*10^3;
+// Displaying results in the command window
+printf("\n The saturation power Psat = %0.3f mW ",Ps);
+
+printf("\n The bias current I = %0.3f mA ",I);
+
+
+// The answers vary due to round off error