Docsity

ECE 302 Midterm 3 Exam Questions and Instructions - Prof. Chih-Chun Wang, Exams of Electrical and Electronics Engineering

Toggle sidebar
bg1
ECE 302, Midterm #3
7:00-8:00pm Thursday, March 29, FRNY G140,
1. Enter your name, student ID number, e-mail address, and signature in the space
provided on this page, NOW!
2. This is a closed book exam.
3. This exam contains 4 questions. You have one hour to complete it. I will suggest
not spending too much time on a single question, and work on those you know how
to solve.
4. The sub-questions of a given question may not be listed from the easiest to the
hardest. The best strategy is to take a look at all the sub-questions before starting
to solve them.
5. There are totally 12 pages in the exam booklet. Use the back of each page for rough
work.
6. Neither calculators nor help sheets are allowed.
7. Read through all of the problems first, and consult with the TA during the first
15 minutes. After that, no questions should be asked unless under special circum-
stances, which is at TA’s discretion. You can also get a feel for how long each
question might take after browsing through the entire question set. Good luck!
Name:
Student ID:
E-mail:
Signature:
pf3
pf4
pf5
pf8
pf9
pfa

Partial preview of the text

Download ECE 302 Midterm 3 Exam Questions and Instructions - Prof. Chih-Chun Wang and more Exams Electrical and Electronics Engineering in PDF only on Docsity!

ECE 302, Midterm # 7:00-8:00pm Thursday, March 29, FRNY G140,

  1. Enter your name, student ID number, e-mail address, and signature in the space provided on this page, NOW!
  2. This is a closed book exam.
  3. This exam contains 4 questions. You have one hour to complete it. I will suggest not spending too much time on a single question, and work on those you know how to solve.
  4. The sub-questions of a given question may not be listed from the easiest to the hardest. The best strategy is to take a look at all the sub-questions before starting to solve them.
  5. There are totally 12 pages in the exam booklet. Use the back of each page for rough work.

6. Neither calculators nor help sheets are allowed.

  1. Read through all of the problems first, and consult with the TA during the first 15 minutes. After that, no questions should be asked unless under special circum- stances, which is at TA’s discretion. You can also get a feel for how long each question might take after browsing through the entire question set. Good luck!

Name:

Student ID:

E-mail:

Signature:

Question 1: (30%) Consider a random variable X of mixed type with the following generalized pdf:

fX (x) = 0. 5 δ(x) +

  1. 5 e−x^ if 0 ≤ x 0 if x < 0
  1. (5%) What is the meaning (or definition) of the “expectation”? What is the meaning (or definition) of the “variance”?
  2. (5%) Find E(X).
  3. (5%) Find the characteristic function ΦX (ω).
  4. (5%) Find the second moment of X. (Hint: it will be easier if solved by the moment theorem. However, you can still solve it by direct integration.)
  5. (5%) Find the variance of X.
  6. (5%) If Y = 3X + 4, find E(Y ), Var(Y ), and ΦY (ω).

Question 2: (35%) Two numbers X and Y are independently selected from the interval [0,2] uniformly randomly.

  1. (5%) What are the marginal sample spaces for X and for Y respectively? Describe the marginal pdfs for X and for Y?
  2. (5%) What is the joint sample space? What is the joint pdf?
  3. (7%) Find the probability that the difference of X and Y is no larger than 1. Namely, find P ((X −Y ) ≤ 1). (Hint: In this specific setting, computing the “volume” instead of computing the double integration will save you a lot of time.)
  4. (8%) Let Z = max(X, Y ). Find the cdf of Z.
  5. (5%) Find the pdf of Z. (If you do not know the answer to the previous question, you may assume FZ (z) as follows:

FZ (z) =

0 if z < 0 1 8 z

(^3) if 0 ≤ z < 2

1 if 2 ≤ z

and continue solving the pdf of Z.)

  1. (5%) Find E(|W |), where W is a Gaussian random variable with mean 0 and vari- ance 1.

Question 3: (22%) Consider three magic dices X, Y , Z.

  1. (2%) What is the joint sample space? (Hint: It can be considered as a big vector random variable.)

Suppose we know that the joint outcome (X, Y, Z) is uniformly distributed among the following 6 possible combinations {(1, 2 , 3), (2, 3 , 4), (3, 4 , 5), (4, 5 , 6), (5, 6 , 1), (6, 1 , 2)} and has zero probabilistic weight for all other outcomes.

  1. (5%) If a player is only able to observe the outcome of dice X, will the player think X is a fair dice? Why?
  2. (5%) Are the outcomes of the two dices X and Y independent?
  3. (5%) Consider the following game. The player pays $40 for a chance to roll the three magic dices. Based on the outcome of (X, Y, Z), the player wins XY Z (the product of X, Y , and Z) dollars. What is the expected net return of the player?
  4. (5%) What is the probability that the player is going to win some money?

Question 4: (18%) Suppose X is a random number that is exponentially distributed between (0, ∞) with parameter λ = 2. Given X, Y is exponentially distributed between (X, ∞), namely, the conditional pdf of Y given X is

fY |X (y|x) =

e−(y−x)^ if 0 ≤ x ≤ y < ∞ 0 otherwise

  1. (6%) Find the joint pdf fX,Y (x, y).
  2. (6%) Find the joint cdf FX,Y (x, y). There are three cases depending on the values of x and y. Case 1: If x < 0 or y < 0, then we know that FX,Y (x, y) = 0. Case 2: If 0 ≤ x ≤ y < ∞, then it is given that FX,Y (x, y) = (1 − e−^2 x) − 2 e−y(1 − e−x). Find the expression of FX,Y (x, y) for the third case: 0 ≤ y ≤ x < ∞. (Hint: It can be solved by direct integration or by observing the expressions for Cases 1 and 2.)
  3. (6%) Find P (X ≤ 2 / 3 , 1 / 2 < Y ≤ 1).