From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 1061/CH10/EX10.6/Ex10_6.sce | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 1061/CH10/EX10.6/Ex10_6.sce (limited to '1061/CH10/EX10.6/Ex10_6.sce') 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 -- cgit