Professional Documents
Culture Documents
𝑛₁ ⋅ 𝑛₂ ⋅. . .⋅ 𝑛𝑘
4 × 3 × 3 = 36
𝑛!
𝑃(𝑛, 𝑟) = ⁿ𝑃𝑟 =
(𝑛 − 𝑟)!
Example. Code 39 is a common bar code system that consists of
narrow and wide bars (black) separated by either wide or narrow
spaces (white). Each character contains nine elements (five bars and
four spaces). The code for a character starts and ends with a bar
(either narrow or wide) and a (white) space appears between each bar.
The original specification (since revised) used exactly two wide bars
and one wide space in each character. For example, if 𝑏 and 𝐵 denote
narrow and wide (black) bars, respectively, and 𝑤 and 𝑊 denote
narrow and wide (white) spaces, a valid character is 𝑏𝑤𝐵𝑤𝐵𝑊𝑏𝑤𝑏.
One character is held back as a start and stop delimiter. How many
other characters can be coded by this system? Can you explain the
name of the system? The answer is ......
𝑛!
𝐶(𝑛, 𝑟) = ⁿ𝐶𝑟 =
𝑟! (𝑛 − 𝑟)!
Probability
Probability is the likelihood or chance of an event occurring. The
probability of an event 𝐴 is defined by
𝑛(𝐴)
𝑝(𝐴) =
𝑛(𝑆)
Example. Assume that a die is rolled. Then the outcomes are the
numbers 𝑆 = {1,2,3,4,5,6}. The probability of even numbers is
𝑛(𝐴) 3
𝑝(𝐴) = =
𝑛(𝑆) 6
𝑛(𝐵) 2
𝑝(𝐵) = = .
𝑛(𝑆) 6
1) 𝑝(𝐴 ∩ 𝐵).
𝑝(𝐴 ∩ 𝐵) = 0.4.
2) 𝑝(𝐴 ∪ 𝐵′).
3) 𝑝(𝐴′ ∩ 𝐵).
4) 𝑝(𝐴′ ∪ 𝐵′)
5) 𝑝(𝐴′ ∩ 𝐵′)
1) a car or a bike.
Let 𝐴 be a person has a car and let 𝐵 be a person has a bike.
Then
Example. For 9 red balls and 7 green balls, two balls are selected at
random. Find the probability that the balls are