summaryrefslogtreecommitdiff
path: root/116/CH8
diff options
context:
space:
mode:
Diffstat (limited to '116/CH8')
-rwxr-xr-x116/CH8/EX8.1/exa8_1.sce51
-rwxr-xr-x116/CH8/EX8.2/exa8_2.sce51
-rwxr-xr-x116/CH8/EX8.3/exa8_3.sce56
-rwxr-xr-x116/CH8/EX8.4/exa8_4.sce43
-rwxr-xr-x116/CH8/EX8.5/exa8_5.sce87
-rwxr-xr-x116/CH8/EX8.6/exa8_6.sce48
6 files changed, 165 insertions, 171 deletions
diff --git a/116/CH8/EX8.1/exa8_1.sce b/116/CH8/EX8.1/exa8_1.sce
index 89f07d16f..a672daf52 100755
--- a/116/CH8/EX8.1/exa8_1.sce
+++ b/116/CH8/EX8.1/exa8_1.sce
@@ -1,27 +1,26 @@
-
-//Caption:Program to determine the loss limit and the multimode dispersion limit of a graded index FOC
-
-//Example 8.1
-
-//Page 388
-
-//Refer to figure 8.2 on page 385
-
-Pin=42//input power = 42dB
-
-disp('The attenuation of a multimode fiber operating at 820nm is approximately 3db/km. Thus,')
-
-A=3//attenuation
-
-LL=(Pin/A)//Loss Limit
-
-disp('Using 2 Gbps-km as typical BDP of graded index multimode fiber, the multimode dispersion distance is determined as')
-
-Dl=(2000/90)//Dispersion limit
-
-//Result
-
-//Loss Limit = 14 km
-
-//Dispersion Limit = 22.2 km
+
+//Caption:Program to determine the loss limit and the multimode dispersion limit of a graded index FOC
+
+//Example 8.1
+
+//Page 388
+
+//Refer to figure 8.2 on page 385
+
+Pin=42//input power = 42dB
+
+
+A=3//attenuation
+
+LL=(Pin/A)//Loss Limit
+
+disp('Using 2 Gbps-km as typical BDP of graded index multimode fiber, the multimode dispersion distance is determined as')
+
+Dl=(2000/90)//Dispersion limit
+
+//Result
+
+//Loss Limit = 14 km
+
+//Dispersion Limit = 22.2 km
\ No newline at end of file
diff --git a/116/CH8/EX8.2/exa8_2.sce b/116/CH8/EX8.2/exa8_2.sce
index de9ce5d18..33ccb2a76 100755
--- a/116/CH8/EX8.2/exa8_2.sce
+++ b/116/CH8/EX8.2/exa8_2.sce
@@ -1,27 +1,26 @@
-
-//Caption:Program to determine the loss limit and the chromatic dispersion limit of a high performance SMF FOC
-
-//Example 8.2
-
-//Page 389
-
-//Refer figure 8.2 on page 385
-
-disp('The attenuation of single-mode fibre operating at 1300nm is approximately 0.35dB/km. Thus,')
-
-Pin=42//input power = 42dB
-
-A=0.35
-
-LL=(Pin/A)//Loss Limit
-
-disp('Using 250 Gbps-km as BDP of a silica single-mode fiber, the chromatic dispersion limit is determined as')
-
-Cd=(250000/417)//Chromatic dispersion limit
-
-//Result
-
-//Loss Limit = 120 km
-
-//Chromatic Dispersion Limit = 599.52 = 600 km
+
+
+//Example 8.2
+
+//Page 389
+
+//Refer figure 8.2 on page 385
+
+disp('The attenuation of single-mode fibre operating at 1300nm is approximately 0.35dB/km. Thus,')
+
+Pin=42//input power = 42dB
+
+A=0.35
+
+LL=(Pin/A)//Loss Limit
+
+disp('Using 250 Gbps-km as BDP of a silica single-mode fiber, the chromatic dispersion limit is determined as')
+
+Cd=(250000/417)//Chromatic dispersion limit
+
+//Result
+
+//Loss Limit = 120 km
+
+//Chromatic Dispersion Limit = 599.52 = 600 km
\ No newline at end of file
diff --git a/116/CH8/EX8.3/exa8_3.sce b/116/CH8/EX8.3/exa8_3.sce
index 871086e69..64197ad3c 100755
--- a/116/CH8/EX8.3/exa8_3.sce
+++ b/116/CH8/EX8.3/exa8_3.sce
@@ -1,29 +1,29 @@
-
-//Caption:Program to determine the BDP of SMF system and DS SMF system using DFB LD
-
-//Example 8.3
-
-//Page 393
-
-//Refer to table 8.1 on page 392, also to figure 8.6 on page 391
-
-smf=16
-
-smf=16//dispersion co-efficient of SMF at 1550nm
-
-sw=0.4//spectral width of the source
-
-BDP=[250/(smf*sw)]//assuming line code as NRZ
-
-disp('The BDP of the DS SMF system is determined as')
-
-smf=3.5//dispersion co-efficient of DS SMF at 1550nm
-
-BDP=[250/(smf*sw)]//assuming line code as NRZ
-
-//Result
-
-//BDP = 39 Gbps=km (SMF)
-
-//BDP = 179 Gbps-km (DS SMF)
+
+
+
+//Example 8.3
+
+//Page 393
+
+//Refer to table 8.1 on page 392, also to figure 8.6 on page 391
+
+smf=16
+
+smf=16//dispersion co-efficient of SMF at 1550nm
+
+sw=0.4//spectral width of the source
+
+BDP=[250/(smf*sw)]//assuming line code as NRZ
+
+disp('The BDP of the DS SMF system is determined as')
+
+smf=3.5//dispersion co-efficient of DS SMF at 1550nm
+
+BDP=[250/(smf*sw)]//assuming line code as NRZ
+
+//Result
+
+//BDP = 39 Gbps=km (SMF)
+
+//BDP = 179 Gbps-km (DS SMF)
\ No newline at end of file
diff --git a/116/CH8/EX8.4/exa8_4.sce b/116/CH8/EX8.4/exa8_4.sce
index 4eba55ae7..b7b936590 100755
--- a/116/CH8/EX8.4/exa8_4.sce
+++ b/116/CH8/EX8.4/exa8_4.sce
@@ -1,23 +1,22 @@
-
-//Caption:Program to determine the difference in wavelength of two optical signal
-
-//Example 8.4
-
-//Page 402
-
-c=3*10^8//speed of light
-
-wl=1500*10^-9//wavlength =1500nm
-
-f=[(3*10^8)/wl]
-
-disp('Thus the upper and lower frequencies are determined as 200,001 and 199,999 GHz respectively. The corresponding wavelengths are')
-
-lam1=[c/(199999*10^9)]
-
-lam2=[c/(200001*10^9)]
-
-//Result
-
-//The difference in wavelenghts is 0.015nm
+
+
+//Example 8.4
+
+//Page 402
+
+c=3*10^8//speed of light
+
+wl=1500*10^-9//wavlength =1500nm
+
+f=[(3*10^8)/wl]
+
+disp('Thus the upper and lower frequencies are determined as 200,001 and 199,999 GHz respectively. The corresponding wavelengths are')
+
+lam1=[c/(199999*10^9)]
+
+lam2=[c/(200001*10^9)]
+
+//Result
+
+//The difference in wavelenghts is 0.015nm
\ No newline at end of file
diff --git a/116/CH8/EX8.5/exa8_5.sce b/116/CH8/EX8.5/exa8_5.sce
index 8fa8e320d..107eeb6ab 100755
--- a/116/CH8/EX8.5/exa8_5.sce
+++ b/116/CH8/EX8.5/exa8_5.sce
@@ -1,45 +1,44 @@
-
-//Caption:Program to determine the system gain
-
-//Example 8.5
-
-//Page 405
-
-//Refer to table 8.2 and figure 8.8 on page 394
-
-dr=565//data rate
-
-wl=1550*10^-9//wavelength
-
-disp('The use of 5B6B line code implies the line data rate is,')
-
-565*(6/5)
-
-//678Mbps
-
-disp('The receiver sensitivity for 678 Mbps is determined from fig 8.8 or table 8.2 as ')
-
-rsen=-34.5
-
-A=(-5-rsen)//system gain
-
-BDP=[500/(17*0.4)]
-
-BDPs=[73.6/0.678]
-
-lossp=(0.2+0.2)*(65)
-
-lossm=A-lossp
-
-//Result
-
-//System gain = 29.5 dB
-
-//BDP = 73.6 Gbps
-
-//BDP spacing = 109 km
-
-//Path Loss = 26 dB
-
-//Loss Margin = 3.5 dB
+
+
+//Example 8.5
+
+//Page 405
+
+//Refer to table 8.2 and figure 8.8 on page 394
+
+dr=565//data rate
+
+wl=1550*10^-9//wavelength
+
+disp('The use of 5B6B line code implies the line data rate is,')
+
+565*(6/5)
+
+//678Mbps
+
+disp('The receiver sensitivity for 678 Mbps is determined from fig 8.8 or table 8.2 as ')
+
+rsen=-34.5
+
+A=(-5-rsen)//system gain
+
+BDP=[500/(17*0.4)]
+
+BDPs=[73.6/0.678]
+
+lossp=(0.2+0.2)*(65)
+
+lossm=A-lossp
+
+//Result
+
+//System gain = 29.5 dB
+
+//BDP = 73.6 Gbps
+
+//BDP spacing = 109 km
+
+//Path Loss = 26 dB
+
+//Loss Margin = 3.5 dB
\ No newline at end of file
diff --git a/116/CH8/EX8.6/exa8_6.sce b/116/CH8/EX8.6/exa8_6.sce
index 55809510b..9aceca8ad 100755
--- a/116/CH8/EX8.6/exa8_6.sce
+++ b/116/CH8/EX8.6/exa8_6.sce
@@ -1,26 +1,24 @@
-
-//Caption:Program to determine the range of SPE data rates that can be accomodated by the byte stuffing operation
-
-//Example 8.6
-
-//Page 415
-
-frames=4*9*87//Four SPE frames
-
-rate=8*frames*2000//normal rate SPE
-
-disp('When positive byte stuffing is used to accomodate a slow incoming SPE rate, 3131 bytes of data are transmitted in four frames. Thus, the lowest slip rate is')
-
-Rmin=8*3131*2000//minimum SPE rate
-
-disp('When negative byte stuffing is used to accomodate a fast incoming SPE rate, 3133 bytes of data are transmitted in four frames. Thus, the highest slip rate is')
-
-Rmax=8*3133*2000//maximum SPE rate
-
-//Result
-
-//Normal SPE rate = 50.112 Mbps
-
-//Minimum SPE rate = 50.096 Mbps
-
+
+//Example 8.6
+
+//Page 415
+
+frames=4*9*87//Four SPE frames
+
+rate=8*frames*2000//normal rate SPE
+
+
+
+Rmin=8*3131*2000//minimum SPE rate
+
+disp('When negative byte stuffing is used to accomodate a fast incoming SPE rate, 3133 bytes of data are transmitted in four frames. Thus, the highest slip rate is')
+
+Rmax=8*3133*2000//maximum SPE rate
+
+//Result
+
+//Normal SPE rate = 50.112 Mbps
+
+//Minimum SPE rate = 50.096 Mbps
+
//Maximum SPE rate = 50.128 Mbps \ No newline at end of file