diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /1061/CH10/EX10.4 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '1061/CH10/EX10.4')
-rwxr-xr-x | 1061/CH10/EX10.4/Ex10_4.sce | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/1061/CH10/EX10.4/Ex10_4.sce b/1061/CH10/EX10.4/Ex10_4.sce new file mode 100755 index 000000000..509817a1e --- /dev/null +++ b/1061/CH10/EX10.4/Ex10_4.sce @@ -0,0 +1,15 @@ +//Ex:10.4
+clc;
+clear;
+close;
+Pi=-2.5;// mean optical power launched into the fiber in dBm
+Po=-45;// mean output optical power available at the receiver in dBm
+a_fc=0.35;// fider cable loss in dB/km
+aj=0.1;// splice loss in db/km
+a_cr=1;// connector losses
+Ma=6;// safety margin in dB
+L=(Pi-Po-a_cr-Ma)/(a_fc+aj);// length in km when system operating at 25 Mbps
+Po1=-35;// mean output optical power available at the receiver in dBm
+L1=(Pi-Po1-a_cr-Ma)/(a_fc+aj);// length in km when system operating at 350 Mbps
+printf("The length when system operating at 25 Mbps =%f km", L);
+printf("\n The length when system operating at 350 Mbps =%f km", L1);
\ No newline at end of file |