Docsity

Old Exam 3 Solutions - Probabilistic Methods in Computer Engineering | ECE 30200, Exams of Electrical and Electronics Engineering

Toggle sidebar
bg1
NAME:__________________________________
EE 302 Division 1
Exam 3 Solutions, 4/17/2002.
•This is a closed-book exam. A formula sheet is provided. No calculators are allowed.
•You have one hour to complete FIVE problems.
•Be sure to fully and clearly explain all your answers.
•There will not be any discussion of grades. All re-grade requests must be submitted in writing,
as stated in the course information handout.
Problem Points Score
150
230
310
410
520
TOTAL 120
1
pf3
pf4
pf5

Partial preview of the text

Download Old Exam 3 Solutions - Probabilistic Methods in Computer Engineering | ECE 30200 and more Exams Electrical and Electronics Engineering in PDF only on Docsity!

NAME:__________________________________

EE 302 Division 1

Exam 3 Solutions, 4/17/2002.

  • This is a closed-book exam. A formula sheet is provided. No calculators are allowed.
  • You have one hour to complete FIVE problems.
  • Be sure to fully and clearly explain all your answers.
  • There will not be any discussion of grades. All re-grade requests must be submitted in writing, as stated in the course information handout.

Problem Points Score

1 50

TOTAL 120

Some random variables, their distributions, and associated transforms:

Random variable PMF or PDF Mean Variance Transform

Bernoulli p for k = 1; 1 − p for k = 0. p p(1 − p) 1 − p + pes

Discrete uniform (^1) n , k = k 0 + 1, k 0 + 2,... , k 0 + n k 0 + n+1 2 n (^2) − 1 12

es(e(k^0 +n)s−ek^0 s) n(es−1) Geometric (1 − p)k−^1 p, k = 1, 2 , 3 ,... (^1) p p^12 − (^1) p pe

s 1 −(1−p)es

Binomial

n

k

 (1^ −^ p)n−kpk,^ k^ = 0,^1 ,... , n^ pn^ np(1^ −^ p)^ (1^ −^ p^ +^ pes)n

Pascal of order k

t − 1

k − 1

 pk(1^ −^ p)t−k,^ t^ =^ k, k^ + 1,...^ kp k

1 p^2 −^

1 p

pes 1 −(1−p)es

)k

Poisson e−λ λ k k! ,^ k^ = 0,^1 ,^2 ,...^ λ^ λ^ e

λ(es−1)

Continuous uniform (^) b−^1 a , a ≤ x ≤ b b+ 2 a (b−a)

2 12

esb−esa (b−a)s Exponential λe−λx, x ≥ 0 λ−^1 λ−^2 λλ−s

Normal (Gaussian)

2 πσ

e−^

(x−μ)^2 2 σ^2 μ σ^2 e σ

(^2) s 2 2 +μs

Erlang of order k λ

k (^) yk− (^1) e−λy (k−1)! ,^ y^ ≥^0

k λ

k λ^2

λ λ−s

)k

where (^) ( n k

n! (n − k)!k!

Problem 2 (30 points). Arrivals of customers to a store are described by a Poisson process with rate λ = 100 customers per hour.

a (10 points). What is the probability that exactly one customer will arrive between 1pm and 2pm?

b (10 points). What is the expected number of customers who arrive between 1pm and 2pm?

c (10 points). Suppose the store opens with zero customers, and closes at the moment when 1000-th customer arrives. What is the expected amount of time that the store will be open?

Fully and clearly explain all your answers.

Solution.

a. The number of arrivals during one hour is a Poisson random variable with mean λ = 100, and therefore the required probability is e−^100 · 1001 ≈ 3. 7 · 10 −^42.

b. Again, using the fact that the number of arrivals during one hour is a Poisson random variable with mean 100, the answer is 100.

c. We are asked for the mean of the 1000-th arrival time, which is 1000/100 = 10 hours.

Problem 3 (10 points). Suppose that MX (s), the transform associated with random variable X, is given by

MX (s) =

1 − s

3 − s

What is the PDF of X?

Fully and clearly explain your answer.

Solution. Comparing the form of the given transform with the transform corresponding to an expo- nential random variable, we immediately see that MX (s) is the transform of the following PDF:

1 3

e−x^ + 2e−^3 x, x ≥ 0.

Because of the inversion property, we know that this PDF is a unique PDF corresponding to the transform.

Problem 4 (10 points). We perform a sequence of N independent flips of a fair coin where N is a Poisson random variable with mean λ = 2. The results of the flips are independent of N. Let Nh be the number of heads we observe. Find the mean of Nh.

Fully and clearly explain your answer.

(Hint. Note that Nh is a random sum of Bernoulli random variables.)

Solution. Since Nh is the sum of N i.i.d. Bernoulli random variables with mean 1/2, E[Nh] = (1/2) · E[N ] = 1.