Four buses carrying 100 students from the same school arrive at a football stadium. The buses carry, respectively, 10, 20, 30, and 40 students. One of the students is randomly selected. Let \(X\) denote the number of students who were on the bus carrying the randomly selected student. Now one of the 4 buses is randomly selected, and let \(Y\) denote the number of students on the bus.
Your answer here.
Your answer here.
Your answer here.
Your answer here.
(Hint: you don’t need any extra computation. Note that \(Z=Y+10\).)
Your answer here.
The number of typos per page of a certain book has a Poisson distribution of rate \(\lambda=5\). What is the probability that there is no typo on the page?
Your answer here.
Mass-produced needles are packed in boxes of 1000. On overage 1 needle in 2000 is defective.
# Your code here
Your answer here.
Here is an example where the binomial distribution is used in real life-how most airlines use overbooking to maximize their revenue. Watch the video before you proceed. \[ \href{https://www.youtube.com/watch?v=ZFNstNKgEDI}{\text{Why do airlines sell too many tickets? - Nina Klietsch, TED-Ed}}. \] In this problem, you will find an optimal number of airline tickets that maximizes revenue. Here is a setup. In a certain airline route, there are 500 seats and each ticket is sold at $1000. It costs $2500 for the airline for each bumped passenger for accommodations. For simplicity, we assume that each person travels individually rather than in groups, and all airline tickets are sold completely. The probability that each person who purchases a ticket shows up on time at the airport is \(p=95\%\).
Your answer here.
Your answer here.
Your answer here.
Your answer here.
# Your code here
# Your code here
Your answer here.