Chapter 11:Digital Signal Processing

Ex11.1:pg-509

In [2]:
# Example 11.1
# Calculation of the minimum number of taps needed to compensate for the fiber dispersion
# Page no 509

import math

# Given data
b=22*10**-27;                 # Power launched in port 1
l=800*10**3;                  # Power launched in port 2
T=50*10**-12;                # Power launched in port 3 


# Bit rate of communication system
k=math.ceil((math.pi*b*l)/T**2);
n=(2*k)+1;


# Displaying results in the command window            
print "\n The number of the taps = ",round(n,3)
# The answers vary due to round off error
 The number of the taps =  47.0