Consider the following discrete memoryless channel: Y = X + Z,where Pr{Z = 0} = Pr{Z = a} = 1/2 and the alphabet for x is {0, 1}.Assume that Z is independent of X.
a) Find the capacity of the channel in terms of a.
b) Explain how capacity is affected by a in terms ofsignal-to-noise ratio (SNR).