Probability Models
• Write your full name, “Midterm 1”, and the date at the top of the first page.
• Show all work, including each step of your solution, to earn maximal partial credit.
• Each question has multiple parts. Write legibly and neatly. Box your final answers.
• Use Genius Scan or a similar application to convert your solutions to .pdf format.
• Submit a single .pdf file to Gradescope under the assignment “Midterm 1”.
Assignment (5 Problems: 20+ 20 + 20 + 20 +20 = 100 points total.)
Q Problem 1 [20 points] An airline has determined that over the past year, 5% of the people who purchase a ticket for a weekly flight from Logan to JFK will not show up. Their policy is to sell 52 tickets for this flight even though the plane can only hold 50 passengers. Assuming that whether or not a ticketed passenger shows up are independent events, what is the probability that there will be a seat available for every passenger who shows up?
Q Problem 2 An experimentalist flips six fair coins C1, C2, C3, C4, C5, C6 independently, each with outcome H or T . Let Xi be the random variable defined byX = 1 if Ci = H−1 if Ci = T and define two further random variables in terms of Xi by Y = X1 + X2 and Z = X1 − X2.
• 2.1 [10 points] Determine the probability that
X1 + X2 + X3 + X4 + X5 + X6 = 0.
• 2.2 [5 points] Are Y and Z independent?
• 2.3 [5 points] Calculate Cov[Y, Z].
Q Problem 3 Let X and Y be continuous random variables with joint pdf
1 x2 y2
fX,Y (x, y) = 4π e− 8 − 2
• 3.1 [10 points] Are X and Y independent?
• 3.2 [10 points] Compute Var[X + Y ].
Q Problem 4 Consider the planar domain Ω in R2 given by
Ω = {→v = (x, y) ∈ R2 : x2 + y2 ≤ 1}
the closed disk of radius 1 centered at the origin in the plane. Let V→ = (X, Y ) be a vector
in Ω chosen uniformly at random according to Punif from Lecture 6 with joint pdf
fX,Y(x, y) = ( 1if (x, y) ∈ Ω
• 4.1 [10 points] What is fX(x)?0 if (x, y) /∈ Ω
• 4.2 [10 points] Are X and Y independent?
Q Problem 5 Let X2 and X4 be the Bernoulli random variables from Lecture 7 which describe the position of the ball in the Galton board after 2 or 4 steps, respectively.
• 5.1 [10 points] What is P (X4 = 2|X2 = 2)?
• 5.2 [10 points] What is P (X2 = 2|X4 = 2)?
Q Bonus [Discovering Benford’s Law]
• X.1 [X points] If U is a uniform random variable on the interval [7, 8], raising U to the 10th power defines another random variable Y = 10U on the interval [107, 108]. This new random variable Y is not uniform. For each d = 1, 2, 3, 4, 5, 6, 7, 8, 9, calculate
p(d) = P ( the first digit of Y is d) For example, the first digit of 5551234 is 5.
• X.2 [X points] Watch S1E4 “Digits” of Connected on Netflix – or read any articles
online or in print – on Benford’s Law and discuss any example that interests you.
CS 340 Milestone One Guidelines and Rubric Overview: For this assignment, you will implement the fundamental operations of create, read, update,
Retail Transaction Programming Project Project Requirements: Develop a program to emulate a purchase transaction at a retail store. This
7COM1028 Secure Systems Programming Referral Coursework: Secure
Create a GUI program that:Accepts the following from a user:Item NameItem QuantityItem PriceAllows the user to create a file to store the sales receip
CS 340 Final Project Guidelines and Rubric Overview The final project will encompass developing a web service using a software stack and impleme