Permutation and combination of computer text

look416
Messages
87
Reaction score
0

Homework Statement


a computer terminal displaying text can generate 16 different colours numbered 1 to 16. anyone of colours 1 to 8 may be used as the "background colour" on the screen, and anyone of colours 1 to 16 may be used as the " text colours"; however, selecting the same colour for background and text renders the text invisible and so this combination is not used. find the number of different usable combinations of background colour and text colour.


Homework Equations


nCr nPr


The Attempt at a Solution


i have using
16 P 8 x 16 P 16
where 16P8 refers as the possible combinations of background colours
and 16P16 is the possible combinations of text colours
by multiplying both probability, and find the answer...
 
Physics news on Phys.org
Fundamental Principle of Counting: If Step 1 can be done m ways, and after it is done, Step 2 can be done n ways, then both of these steps can be done in this order in m times n ways.

Step 1 is pick one background colour. (How many background colours are there?)

Step 2 is pick one text colour.
 
Billy Bob said:
Fundamental Principle of Counting: If Step 1 can be done m ways, and after it is done, Step 2 can be done n ways, then both of these steps can be done in this order in m times n ways.

Step 1 is pick one background colour. (How many background colours are there?)

Step 2 is pick one text colour.

As what you have said,
8 background colours there , therefore i use 8C1
16 text colours there, therefore i use 16C1
result is 8C1 x 16C1 = 128
sad case this is not the answer, i refer to the answer, answer is 120
so any mistakes there?
 
look416 said:
As what you have said,
8 background colours there , therefore i use 8C1
16 text colours there, therefore i use 16C1
result is 8C1 x 16C1 = 128
sad case this is not the answer, i refer to the answer, answer is 120
so any mistakes there?

Step 1: Number of background colours is correct.
Step 2: Suppose you used Colour #1 in step 1. You can't use that same colour in step 2. Depending on the colour you chose in step 1, your step 2 choices of colour are different. However, the number of choices in step 2 is always the same.
 
yes mate i got it
which mean i just have to expel the colour that i have chosen for the background
therefore is 8C1 x 15C1 which is equivalent to 120.
yeah thanks mate, you saved my day
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...

Similar threads

Replies
2
Views
2K
Replies
5
Views
2K
Replies
4
Views
2K
Replies
18
Views
2K
Replies
32
Views
2K
Replies
13
Views
19K
Replies
2
Views
2K
Back
Top