summaryrefslogtreecommitdiff
path: root/3834/CH11/EX11.3.5/Ex11_3_5.sce
diff options
context:
space:
mode:
Diffstat (limited to '3834/CH11/EX11.3.5/Ex11_3_5.sce')
-rw-r--r--3834/CH11/EX11.3.5/Ex11_3_5.sce22
1 files changed, 22 insertions, 0 deletions
diff --git a/3834/CH11/EX11.3.5/Ex11_3_5.sce b/3834/CH11/EX11.3.5/Ex11_3_5.sce
new file mode 100644
index 000000000..e097b8f7e
--- /dev/null
+++ b/3834/CH11/EX11.3.5/Ex11_3_5.sce
@@ -0,0 +1,22 @@
+//Fiber-optics communication technology, by Djafer K. Mynbaev and Lowell L. Scheiner
+//Example 11.3.5
+//windows 7
+//Scilab version-6.0.0
+clc;
+clear ;
+//given
+
+BER=1E-9;//bit error rate
+Kb=1.38E-23;//Boltzman constant in J/K
+T=300;//Room temperature in K
+P=Kb*T;//constant
+Rl=50E+3;//load resistance in ohm
+x=(4*P)/Rl;//constant
+BWpd=2.5e9//Bandwidth of MF-432 in Hz
+R=1//responsivity in A/W from data sheet
+It=sqrt(x*BWpd);
+Q=6;
+e=1.6E-19;//Electrons value in Coulomb
+
+Pmin=(It+e*Q*BWpd)*(Q/R);//The minimal optical power-photodiode sensitivity Pmin in W
+mprintf("The minimal optical power-photodiode sensitivity Pmin= %.2f dBm",10*log10(Pmin/1e-3));//the answer vary due to rounding//division by 1e-3 to convert unit from dB to dBm