diff options
Diffstat (limited to '3638/CH13/EX13.12/Ex13_12.sce')
-rw-r--r-- | 3638/CH13/EX13.12/Ex13_12.sce | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/3638/CH13/EX13.12/Ex13_12.sce b/3638/CH13/EX13.12/Ex13_12.sce new file mode 100644 index 000000000..1f77ffaa4 --- /dev/null +++ b/3638/CH13/EX13.12/Ex13_12.sce @@ -0,0 +1,18 @@ +//Introduction to Fiber Optics by A. Ghatak and K. Thyagarajan, Cambridge, New Delhi, 1999
+//Example 13.12
+//OS=Windows XP sp3
+//Scilab version 5.5.2
+clc;
+clear;
+//given
+R=0.5;//Responsivity in A/W
+T=300;//Missing data- Temperature in K
+C=1e-12;//Photodiode capacitance in F
+BER=1e-6;//Bit error rate
+SNR=90;//Signal-to-noise ratio corresponding to BER of (10)^(-6)
+kB=1.38e-23;//Boltzmann constant in SI Units
+
+B=100e6;//Bit rate in b/s
+Pmin=B/R*sqrt(2*%pi*kB*T*C*SNR);
+mprintf("\n For 100 Mb/s, Pmin=%.2f uW",Pmin/1e-6);//Dividing by 10^(-6) to convert into uW
+//The answers vary due to round off error
|