summaryrefslogtreecommitdiff
path: root/848/CH13/EX13.3/Example13_3.sce
blob: 84c22121369ced2b077e3605f2ec7ccd0528167f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
//clear//
//Caption: Calculation of worst case Dynamic Range
//Example13.3
//page 465
clear;
clc;
close;
N = [5,10] ;//number of stations
alpha = 0.4;//attenuation in dB/Km
L = 0.5; //link length in Km
Lc = 1.0; // coupler-to-fiber loss in dB
L_thru = 0.9;// coupler throughput in dB
Li = 0.5;//Intrinsic coupler loss in dB
DR = (N-2)*(alpha*L+2*Lc+Li+L_thru);
disp(DR,'worst-case dyanmic range in dB for N =5 and 10 respectively DR =')
//Result
//worst-case dyanmic range in dB for N =5 and 10 respectively DR =   
//     10.8    28.8