CS107 hw3
Homework 3
page 119.
3) Let
the probability that pilot flies mission i safely. Then the probability that a pilot flies n consecutive missions safely is
, since
are independent events. Hence, Jim is right that the probability of a pilot flying 49 consecutive missions safely is about 0.3716017. However, he is wrong about the odds of the pilot performing the 50th mission successfully. Since the probability is independent of other missions, this pilot’s probability to perform the 50th mission successively is still
. This is because
(from independence). Consequently, Mia is also wrong about the pilot needing to return after 49 successful consecutive missions. The probability of success for the pilot’s 50th mission is simply the same,
. So, both Mia and Jim are wrong.
7) a) Let
, where L = event that a 35-year-old US citizen lives to age 65. The events of John (A) and Jim (B) living to age 65 are independent, and hence
b) 
page 137.
16) Let E = Lorna guesses correctly, R = had is red, B = hat is blue. Then let:
correct guess, hat is red
correct guess, hat is blue
incorrect guess, hat is red
incorrect guess, hat is red Therefore:
And chance of success:
It follows that there is no strategy to maximize Lorna’s chance of success, since the chance of success is independent of
.
17) Let events E = child is in the east wing, W = child is in the west wing, OE = officer in east finds the child, OW = officer in west finds the child, F = child is found, FE = child is found in east wing, FW = child is found in west wing. We are given:
. For the west wing, the probability of finding the child with two officers searching (if the child is there):
For the east wing, the same probability but with three officers searching:
But:
=>
similarly,
Finally: 
19) Let events S = professor smith passes Kevin, SF = professor smith fails Kevin, B and R similar to S, BF and RF similar to SF, K = Kevin is prepared, U = kevin is unprepared a)
To calculate this, we need to take into account whether Kevin is prepared or not:
. We can calculate
using Bayes’ theorem.
, and, similarly:
. Since examiners fail or pass independently from each other, but depending on whether the student is prepared or not:
, and
. Hence:
To calculate
, we use the fact that R, B and S are conditionally independent with respect to K, hence:
and, similarly
. Therefore: 
b) In answer to the second question, of course, S, B and R are not independent. Otherwise the probability would have been a simple: 
c) Yes. S, B and R are conditionally independent, depending on whether Kevin is or is not prepared.
page 150.
1) Possible values are: 5, 4, 3, 2, 1, 0. Probabilities:
- 6 cases for difference = 0: (1, 1), (2, 2), … (6, 6) ==>

- 10 cases for difference = 1: (1, 2), (2, 1), … (5, 6), (6, 5) ==>

- 8 cases for difference = 2: (1, 3), (3, 1), … (4, 6), (6, 4) ==>

- 6 cases for difference = 3: (1, 4), (4, 1), (2, 5), (5, 2), (3, 6), (6, 3) ==>

- 4 cases for difference = 4: (1, 5), (5, 1), (2, 6), (6, 2) ==>

- 2 cases for difference = 5: (1, 6), (6, 1) ==>

2) Possible values are:
-2 (1 red, 1 blue),
2 (2 blue),
4 (2 white). Sample space contains a total of 9 events. Probabilities:
- 1 case for -6 ==>

- 2 cases for -2 ==>

- 2 cases for -1 ==>

- 1 case for 2 ==>

- 2 cases for 3 ==>

- 1 case for 4 ==>

4) Volume is greater than 1.424 means that the side is greater than
The probability is, then: ![$\frac{1.25 - \sqrt[3]{1.424}}{0.25} \approx 0.4998 \approx 0.5$](/images/latex/a5d4f7bd13e83c646e4151f16b0b4cd8.png)
page 173.
2) The expected payment for parking illegally is:
. Therefore the commuter should park at a lot.
3) The expected winning amount for a single ticket: ![$E[X] = \frac{4000}{2,000,000} \cdot 30 + \frac{500}{2,000,000} \cdot 800 + \frac{1}{2,000,000} \cdot 1,200,000 + \frac{1,995,499}{2,000,000} \cdot 0 = 0.06 + 0.2 + 0.6 = 0.86$](/images/latex/bbebbe64cae735f511856fbdf1e5219e.png)
page 182.
3) We calculate variance using the formula:
So
, and
. Therefore: ![$Var(X) = E(X^2) - [E(X)]^2 = 4 - 1^2 = 3$](/images/latex/8dee65a3d3de2051d544096aca1c4b22.png)
4) We calculate variance using the formula:
So
As we can see, E(X) does not exist for this distribution, since F(x) is not continuous and
is not finite.
page 238.
1) a) To determine c, we use the property
: 
b) 
3) a) To determine c, we use the property
: 
b) Obviously, it takes 0 for the student to finish if x < 1. It takes
and 1, if 
c)
, probability to finish in 75 minutes. To finish between 1 + 1/2 and 2 hours, we take: 