document.write( "Question 905735: A quality control inspector samples 6 computer chips from a box containing 11 computer chips. If the box contains 2 defective chips, in how many ways can he select a sample so that all 6 are good?
\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #549363 by Theo(13342)\"\" \"About 
You can put this solution on YOUR website!
i believe your answer will be c(9,6) = (9*8*7*6*5*4) / 6*5*4*3*2*1) = (9*8*7) / (3*2*1) = (3*4*7) = (12*7) = 84\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "you have 11 to choose from but only 9 are good because 2 are bad.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "the total possible ways you can get a sample is c(11,6) but the total possible ways you can get a sample where all are good is c(9,6).\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "i looked at this with much smaller numbers to see if i could come up with the formula. \r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "it was confirmed through several tries, the most complex being the one shown below:\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "assume a sample of 5 computer chips and 2 are defective.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "you select a sample of 3.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "in how many ways can you get all good?\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "the total number of possible ways to get any sample is c(5,3) = (5*4*3) / (3*2*1) = (5*4) / (2*1) = 10\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "the total number of possible ways to get all good is c(3,3) = 1.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "if the formula is correct, there should only be one out of the 10 possible ways to get all three good.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "assume the 5 chips are chip a,b,c,d,e\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "the total possible combinations of 3 are shown below. there should be 10 of them.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "assume d and e are defective.
\n" ); document.write( "we'll mark the number of sets that contain either d or e in them with asterisks\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "abc
\n" ); document.write( "abd ***
\n" ); document.write( "abe ***
\n" ); document.write( "acd ***
\n" ); document.write( "ace ***
\n" ); document.write( "ade ***
\n" ); document.write( "bcd ***
\n" ); document.write( "bce ***
\n" ); document.write( "bde ***
\n" ); document.write( "cde ***\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "the only set that didn't contain d or e in it was abc which is only 1 out of the 10 possible sets.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "the formula was 3C3 instead of 5C3 because 2 were defective and we only wanted all good.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "i applied the same logic to your problem, so instead of 11c6, you drew 9c6 which gave you all the possible combinations where all were good.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "note that 9c6 and c(9,6) are two different ways to represent the same thing, namely how many different ways to draw sets of 6 from 9 where each set is different from the other and where order doesn't matter.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );