Chapter 8 : Emerging digital communications technologies

page no. 367 Prob no. 8.3

In [1]:
#since both the plots can be out of synchronization by as much as 6 parts (bits)in 10**13 , we have 
# timing error bits per second can be calculated as-
#error in synchronization is given as
e=6.0/(10**13)##timing eeor bits per transmitted bits
#bit rate is given as
r =1544000.0 ## in bits/sec
#timing error bits per second ,Te is given as
Te=e*r#
S=1/Te## seconds per timing error bits
H=S/3600.0## hours per timing error bits
#since a synchronization error can occur whenever the network is out of synchronization by 1/5 bits, the time between resynchronizing is given as
T=H/5.0#
print "No. of hours for resynchronizing : %.f Hr"%T
No. of hours for resynchronizing : 60 Hr