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.6 | |
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.6')
-rwxr-xr-x | 1061/CH10/EX10.6/Ex10_6.sce | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/1061/CH10/EX10.6/Ex10_6.sce b/1061/CH10/EX10.6/Ex10_6.sce new file mode 100755 index 000000000..89a80a175 --- /dev/null +++ b/1061/CH10/EX10.6/Ex10_6.sce @@ -0,0 +1,16 @@ +//Ex:10.6
+clc;
+clear;
+close;
+Lc=1;// connector loss in db
+Ls=5;// star coupler insertion loss in dB
+af=2;// fider loss in dB
+Ps=-14;// transmitted power in dBm
+Pr=-49;// receiver sensitivity in dBm
+sm=6;// system margin in dB
+N=16;
+L=(Ps-Pr-Ls-4*Lc-(10*log(N))/log(10)-sm)/(2*af);// max transmission length in km when transmission star coupler is used
+N1=32;
+L1=(Ps-Pr-Ls-4*Lc-(10*log(N1))/log(10)-sm)/(2*af);// max transmission length in km when reflection star coupler is used
+printf("The max transmission length when transmission star coupler is used =%f km", L);
+printf("\n The max transmission length when reflection star coupler is used =%f km", L1);
\ No newline at end of file |