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 --- 3415/CH9/EX9.1/Ex9_1.JPG | Bin 0 -> 48279 bytes 3415/CH9/EX9.1/Ex9_1.sce | 15 +++++++++++++++ 3415/CH9/EX9.2/Ex9_2.JPG | Bin 0 -> 56352 bytes 3415/CH9/EX9.2/Ex9_2.sce | 23 +++++++++++++++++++++++ 3415/CH9/EX9.3/Ex9_3.JPG | Bin 0 -> 44882 bytes 3415/CH9/EX9.3/Ex9_3.sce | 14 ++++++++++++++ 6 files changed, 52 insertions(+) create mode 100644 3415/CH9/EX9.1/Ex9_1.JPG create mode 100644 3415/CH9/EX9.1/Ex9_1.sce create mode 100644 3415/CH9/EX9.2/Ex9_2.JPG create mode 100644 3415/CH9/EX9.2/Ex9_2.sce create mode 100644 3415/CH9/EX9.3/Ex9_3.JPG create mode 100644 3415/CH9/EX9.3/Ex9_3.sce (limited to '3415/CH9') diff --git a/3415/CH9/EX9.1/Ex9_1.JPG b/3415/CH9/EX9.1/Ex9_1.JPG new file mode 100644 index 000000000..d1d204c8b Binary files /dev/null and b/3415/CH9/EX9.1/Ex9_1.JPG differ diff --git a/3415/CH9/EX9.1/Ex9_1.sce b/3415/CH9/EX9.1/Ex9_1.sce new file mode 100644 index 000000000..69f19a84e --- /dev/null +++ b/3415/CH9/EX9.1/Ex9_1.sce @@ -0,0 +1,15 @@ +//fiber optic communications by joseph c. palais +//example 9.1 +//OS=Windows XP sp3 +//Scilab version 5.4.1 +clc +clear all +//given +LE=1//coupler has excess loss of 1dB +P2byP1=(10^(-LE/10))/2//since P2/P1 is equal to P3/p1 since spliting ratio is 1:1 +Ltap=-10*log10(P2byP1)//Taploss in dB +Lthp=-10*log10(P2byP1)//throughput Loss in dB +Ltap1=Ltap-LE//excess loss of 1 dB +Lthp2=Lthp-LE//excess loss of 1dB +mprintf('\nThe portion of the input power reaching output for splitting ratio 1:1 is =%f',P2byP1) + diff --git a/3415/CH9/EX9.2/Ex9_2.JPG b/3415/CH9/EX9.2/Ex9_2.JPG new file mode 100644 index 000000000..24cb2f494 Binary files /dev/null and b/3415/CH9/EX9.2/Ex9_2.JPG differ diff --git a/3415/CH9/EX9.2/Ex9_2.sce b/3415/CH9/EX9.2/Ex9_2.sce new file mode 100644 index 000000000..ebc6899fb --- /dev/null +++ b/3415/CH9/EX9.2/Ex9_2.sce @@ -0,0 +1,23 @@ +//fiber optic communications by joseph c. palais +//example 9.2 +//OS=Windows XP sp3 +//Scilab version 5.4.1 +clc +clear all +//given +terminals_in=10//initial terminals +terminals_ex=11//extended terminals +S_ratio=9//splitting ratio +ELT=1//excess losss tee coupler in dB +connector_loss=1//connector loss in dB +//to find +P2byP1=10^-0.1*0.9//P2/P1 for spliting ratio 9:1 +lthp=-10*log10(P2byP1)//through loss loss for a 9:1 coupler having 1dB of excess loss +tee_adlos=lthp+2//loss of one directional coupler plus the loss of two connectors +star_adlos1= -10*log10(1/terminals_in)//Loss for star network with 10 terminals in dB +star_adlos2= -10*log10(1/terminals_ex)//Loss for star network with 11 terminals in dB +d2=star_adlos2 - star_adlos1//Change in loss with change in no. of terminals from 10-11 +mprintf('Throughput losses for a 9:1 coupler having 1dB of excess loss =%fdB',lthp) +mprintf('\nAdded losses for star with 10 terminals =%fdB',star_adlos1) +mprintf('\nAdded losses for star with 11 terminals =%fdB',star_adlos2) +mprintf('\nDifference in star added losses=%fdB',d2) diff --git a/3415/CH9/EX9.3/Ex9_3.JPG b/3415/CH9/EX9.3/Ex9_3.JPG new file mode 100644 index 000000000..afd6031c8 Binary files /dev/null and b/3415/CH9/EX9.3/Ex9_3.JPG differ diff --git a/3415/CH9/EX9.3/Ex9_3.sce b/3415/CH9/EX9.3/Ex9_3.sce new file mode 100644 index 000000000..1c207cb11 --- /dev/null +++ b/3415/CH9/EX9.3/Ex9_3.sce @@ -0,0 +1,14 @@ +//fiber optic communications by joseph c. palais +//example 9.3 +//OS=Windows XP sp3 +//Scilab version 5.4.1 +//given +clc; +clear all; +n2=1.5//Assuming refractive index of glass fiber +n1=1//refractive index if air +R=((n1-n2)/(n1+n2))^2// fraction of light reflected +//to find +LR=-10*log10(R)//Return loss in dB +mprintf('Return loss=%fdB',LR) + -- cgit