summaryrefslogtreecommitdiff
path: root/848/CH13/EX13.2
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /848/CH13/EX13.2
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '848/CH13/EX13.2')
-rwxr-xr-x848/CH13/EX13.2/Example13_2.sce24
1 files changed, 24 insertions, 0 deletions
diff --git a/848/CH13/EX13.2/Example13_2.sce b/848/CH13/EX13.2/Example13_2.sce
new file mode 100755
index 000000000..7d2fb1bc8
--- /dev/null
+++ b/848/CH13/EX13.2/Example13_2.sce
@@ -0,0 +1,24 @@
+//clear//
+//Caption: Calculation of Number stations for given loss
+//Example13.2
+//page 465
+clear;
+clc;
+close;
+alpha = 0.4; //attenuation in dB/Km
+L_tap = 10; // coupling loss in dB
+L_thru = 0.9; // coupler throughput in dB
+Li = 0.5; //Intrinsic coupler loss in dB
+Lc = 1.0; // coupler-to-fiber loss in dB
+L = 0.5; //link length in Km
+Pbudget_LED = 38; // power loss between source and receiver in dB for LED source
+Pbudget_LASER = 51;//power loss between source and receiver in dB for LASER source
+N_LED = (Pbudget_LED+alpha*L-2*L_thru-2*L_tap)/(alpha*L+2*Lc+Li+L_thru)
+N_LASER = (Pbudget_LASER+alpha*L-2*L_thru-2*L_tap)/(alpha*L+2*Lc+Li+L_thru)
+disp(ceil(N_LED),'Number of stations allowed for given loss of 38 dB with LED source')
+disp(floor(N_LASER),'Number of stations allowed for given loss of 51 dB with LASER source')
+//Result
+//Number of stations allowed for given loss of 38 dB with LED source
+// 5.
+//Number of stations allowed for given loss of 51 dB with LASER source
+// 8.