FA22-BEE-068 - Assignment # 2
FA22-BEE-068 - Assignment # 2
FA22-BEE-068 - Assignment # 2
NAME: MUNEEB-UR-REHMAN
Answer: S = {(R, R), (R, G), (R, B), (G, R), (G, G), (G, B), (B, R), (B, G), (B, B)}
(b) Repeat when the second marble is drawn without replacing the first marble.
Answer: S = {(R, G), (R, B), (G, R), (G, B), (B, R), (B, G)}
Question 2
In an experiment, a die is rolled continually until a 6 appears, at which point the experiment
stops.
Answer: S = {1, 2, 3, 4, 5, 6, (6, 1), (6, 2), ..., (6, 1, 1), (6, 1, 2), ...}
(b) Let E_n denote the event that n rolls are necessary to complete the experiment. What
points of the sample space are contained in E_n?
Question 3
Two dice are thrown. Let E be the event that the sum of the dice is odd, let F be the event
that at least one of the dice lands on 1, and let G be the event that the sum is 5.
Answer:
- E ∪ F = {(1, 1), (1, 2), (1, 3), (1, 4), (1, 5), (1, 6), (2, 1), (2, 3), (2, 4), (3, 1), (3, 2), (3, 4), (4, 1),
(4, 3), (5, 1), (5, 6), (6, 1), (6, 5)}
Question 4
A, B, and C take turns flipping a coin. The first one to get a head wins. The sample space of
this experiment can be defined by S = {1, 01, 001, 0001, …, 0000…}.
Answer: The sample space represents the sequence of coin flips until a head appears, with
1 representing a head and 0 representing a tail.
Question 5
(a) How many outcomes are in the sample space of this experiment?
Answer: 2^5 = 32
(b) Suppose that the system will work if components 1 and 2 are both working, or if
components 3 and 4 are both working, or if components 1, 3, and 5 are all working. Let W
be the event that the system will work. Specify all the outcomes in W.?
Answer: W = {(1, 1, 0, 0, 0), (1, 1, 0, 0, 1), (1, 1, 1, 0, 0), (1, 1, 1, 0, 1), (1, 1, 1, 1, 0), (1, 1, 1, 1,
1), (0, 0, 1, 1, 0), (0, 0, 1, 1, 1)}
(c) Let A be the event that components 4 and 5 are both failed. How many outcomes are
contained in the event A?
Answer: A = {(0, 0, 0, 0, 0), (0, 0, 0, 0, 1), (0, 0, 0, 1, 0), (0, 0, 0, 1, 1), (0, 0, 1, 0, 0), (0, 0, 1, 0,
1), (0, 0, 1, 1, 0), (0, 0, 1, 1, 1)}
Question 6
Answer: S = {(0, g), (0, f), (0, s), (1, g), (1, f), (1, s)}
(b) Let A be the event that the patient is in serious condition. Specify the outcomes in A.
(c) Let B be the event that the patient is uninsured. Specify the outcomes in B.
Question 7
Consider an experiment that consists of determining the type of job - either blue-collar or
white-collar - and the political affiliation - Republican, Democratic, or Independent - of the
15 members of an adult soccer team.
(b) How many outcomes are in the event that at least one of the team members is a blue-
collar worker?
Please let me know if you would like me to continue with the answers.
Suppose that A and B are mutually exclusive events for which P(A) = .3 and P(B) = .5.
Question 9
A retail establishment accepts either the American Express or the VISA credit card. A total
of 24 percent of its customers carry an American Express card, 61 percent carry a VISA
card, and 11 percent carry both cards. What percentage of its customers carry a credit
card that the establishment will accept?
Question 10
Sixty percent of the students at a certain school wear neither a ring nor a necklace. Twenty
percent wear a ring and 30 percent wear a necklace. If one of the students is chosen
randomly, what is the probability that this student is wearing:
Answer: 10 percent
Question 11
A total of 28 percent of American males smoke cigarettes, 7 percent smoke cigars, and 5
percent smoke both cigars and cigarettes.
Answer: 7 - 5 = 2 percent
Question 12
An elementary school is offering 3 language classes: one in Spanish, one in French, and
one in German. The classes are open to any of the 100 students in the school. There are 28
students in the Spanish class, 26 in the French class, and 16 in the German class. There
are 12 students that are in both Spanish and French, 4 that are in both Spanish and
German, and 6 that are in both French and German. In addition, there are 2 students taking
all 3 classes.
(a) If a student is chosen randomly, what is the probability that he or she is not in any of the
language classes?
(b) If a student is chosen randomly, what is the probability that he or she is taking exactly
one language class?
(c) If 2 students are chosen randomly, what is the probability that at least 1 is taking a
language class?
Answer: 1 - (40 / 100) × (40 / 100) = 1 - 16 / 25 = 9 / 25
Question 13
A certain town with a population of 100,000 has 3 newspapers: I, II, and III. The proportions
of townspeople who read these papers are as follows:
I: 10 percent
II: 30 percent
III: 5 percent
(a) Find the number of people who read only one newspaper.
Answer: 10 (I) + 30 (II) + 5 (III) - 8 (I and II) - 2 (I and III) - 4 (II and III) + 1 (I and II and III) =
32,000
Answer: 8 (I and II) + 2 (I and III) + 4 (II and III) - 1 (I and II and III) = 13,000
(c) If I and III are morning papers and II is an evening paper, how many people read at least
one morning paper plus an evening paper?
Answer: 8 (I and II) + 4 (II and III) = 12,000
Answer: 100,000 - 32,000 (who read only one paper) - 13,000 (who read at least two
papers) = 55,000
Question 14
The following data were given in a study of a group of 1000 subscribers to a certain
magazine:
312 professionals
86 married professionals
Answer: Let M, W, and G denote, respectively, the set of professionals, married persons,
and college graduates. Using the principle of inclusion-exclusion, we have:
But |M ∪ W ∪ G| cannot exceed 1000, the total number of subscribers. Therefore, the
numbers reported in the study must be incorrect.
Please let me know if you would like me to continue with the answers.
If it is assumed that all (52/5) poker hands are equally likely, what is the probability of being
dealt:
(a) a flush?
Question 16
Please let me know if you would like me to continue with the answers.
If 8 rooks (castles) are randomly placed on a chessboard, compute the probability that
none of the rooks can capture any of the others. That is, no row, column, or diagonal
contains more than one rook.
Answer: (8! × 8!) / (64 × 63 × 62 × 61 × 60 × 59 × 58 × 57) = 40,320/178,462,897,760 ≈
0.000226
Question 18
A deck of 52 cards is shuffled and 5 cards are dealt. What is the probability that:
(b) 3 cards are of one suit and 2 cards are of another suit?