You are on page 1of 2

CME 314: Probability and Random Processes for Engineers

First Semester 2020/2021


Mini Project 01
Dr. Rami D Halloush, Dr. Ahmed Musa

This mini-project requires reading about splitting and merging Poisson processes from the reference
book:

Introduction to Probability, Second Edition, Dimitri Bertsekas.

1. The number of packets arriving to a destination computer from source computer 1 has a Poisson
distribution with rate 10000 packets in a time window of 1 second.
The number of packets arriving to the same destination computer from source computer 2 has a
Poisson distribution with rate 5000 packets in a time window of 1 second.

a. Theoretical: What is the distribution of the number of packets arriving at the destination node
from both source 1 and 2?
b. Simulation: write a code (use any language you like) that simulates the reception of packets at
the destination node from both computers. Let the code compute the interarrival time of the
packets received (from sources 1 and 2). Is this result consistent with part (a) above?
c. Theoretical: find the probability of receiving 14800 packets in a time window of 1 second.
d. Simulation: write a code (use any language you like) that simulates the reception of packets at
the destination node from both computers. Let the code compute the probability of receiving
(from sources 1 and 2) 14800 packets in a time window of 1 second. Is this result consistent with
part (c) above?
2. Each received packet at the destination node, regardless of its source, is dropped according to a
Bernoulli random variable (RV) with probability of packet drop equals = 0.3.
a. Theoretical: what is the distribution of the number of packets arriving at the destination node
(from both source 1 and 2)?
b. Simulation: write a code (use any language you like) that simulates the reception of packets at
the destination node from both computers. Let the code compute the interarrival time of the
packets received (from sources 1 and 2).
c. Theoretical: find the probability of receiving 14800 packets in a time window of 1 second.
d. Simulation: write a code (use any language you like) that simulates the reception of packets at
the destination node from both computers. Let the code compute the probability of receiving
(from sources 1 and 2) 14800 packets in a time window of 1 second. Is this result consistent with
part (c) above?
Deliverables:

Submit a report that has the following components:

1. Detailed answers and explanations to the theoretical parts.


2. A file that has your code.
3. Discussion.

Important: All deliverables should be submitted in one compressed (rar or zip) file.

You might also like