Professional Documents
Culture Documents
Data-Mgt CPT pt1
Data-Mgt CPT pt1
Bob
On this particular day, the painter was deciding what to paint and with what colours. He decided
that he would put all his colours on the workbench and pick out his 2 “colours of the day”. Bob
watched the painter as he placed 4 tubes of paint on his workbench: red, yellow, black ,and
white. The painter then pulled out 2 coins and said “I will flip 2 coins. If the first coin comes up
as heads, my first colour will be red. If the first coin comes up as tails, then my first colour will be
black. Now for the second coin; if it comes up as heads my second colour will be yellow, but if it is
tails then my second colour has to be white. The two coins being tossed is an example of
independent events because the outcome of one coin flip does not affect the outcome of the
other. The opposite of independent events is dependent events which is when the outcome of
one event affects the outcome of the other.
Coin 1 Coin 2
There is a ¼
chance of the
painter picking
my two favourite
colours!!!
Yippie! My
favourite
colours!
Now the painter must choose what he will paint with these two colours. He can choose to paint anything as
long as it has a background, a main focus, an interesting detail,and a border Here are his options:
WHITE STARS or
RED STARS as
interesting detail
12
Another example of a counting principal is the additive counting principle. The additive counting principle states that, if one
mutually exclusive action can occur in m ways, a second in n ways, and a third in p ways, and so on, then there are m+n+p… ways
in which one of these actions can occur
After his meal, the painter decides he wants to hang his paintings on the wall but he
doesn’t really care what the order of the paintings is on his wall. He will just randomly
choose 8 of them and let his brother arrange them however he wants. To find the
number of combinations of paintings where order doesn’t matter, he needs to use the
combination equation.
nCr = n!/(n-r)!r! (the answer is 6435, therefore the painter must choose one of 6435 combinations of paintings)
The painter changes his mind, and he decides he wants to know how many different
arrangements of 8 out of his 15 painting he can make. To find this, he uses the formula for
permutation (an arrangement of objects or people where the order matters). The formula is as
follows: nPr = n!/(n-r)! (the total number of “r” objects out of a set of “n”)
P 15!
_______
15!
_______
15x14x13x12x11x10x9x8x7!
_________________________
15 8 (15-8)! 7! 7!
15x14x13x12x11x10x9x8
I’m very
picky
P
Total= 8 8 (because he is only arranging 8 out of 8 instead of 8 out of 15)
= 8!
home
There's a simple way
to find the answer to
this. Using nCr
(pascal’s formula)
n= 5x3
r= 5 or 3
cabin
Bob smiled at the new wall of paintings and sat in
the darkness, waiting for tomorrow to come, and
to see the painter, once again, create a new
masterpiece.
The End