HW 3
HW 3
Assignment 3
(a) Find the pmf for the number of transmissions X until a message gets
through.
(b) Given a successful transmission, find the probability that it was B
that transmitted.
4. Computers use the ASCII code to represent 128 characters (upper and
lower case English letters, digits, and some other characters) by a string
of 7 bits. A parity bit is added to each 7-tuple, creating an octet, to
enable some degree of error detection when data is transferred between
computers. The parity bit is chosen so that the number of 1s in the octet
is even. Thus, if a computer receives an octet that has an odd number of
1s, it knows that an error must have occurred. Suppose that each bit has
a probability p = 0.1 of being received in error (flipped), and assume that
errors in different bits are independent. (This value for p is unrealistically
large.)
(a) Determine the probability that a received octet contains an error.
(b) Determine the probability that a received octet contains an unde-
tectable error.
(c) Given that a received octet contains an error, determine the proba-
bility that the error is detectable.
5. Consider a wireless communication system with discrete time slots. There
are n users, and each user transmits in a given time slot with probability p
independently of the other users. Let N denote the number of users that
transmit in a given time slot.
2
(a) Find the pmf for Y = g(X) := (X − M )+ , the number of passengers
left behind. In other words,
(
X − M if X − M ≥ 0
Y =
0 if X − M < 0
(b) Determine E[Y ] by using pY (k) obtained in (a). Then verify your
answer by calculating E[Y ] viewing Y as a function of X and using
pX (k).