assignment 6

course mth 152

006. CardsSelf-critique:

------------------------------------------------

Self-critique rating #$&*:

*********************************************

Question: `q001. Note that there are 8 questions in this assignment.

Using a standard deck of cards, in how many ways is it possible to get a hand containing exactly two 5's?

YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY

Your solution:C(4,2) and C(48,3)

confidence rating #$&*:

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

.............................................

Given Solution: In order to get a hand containing exactly two 5's we must select, without regard for order, two of the four 5's, then we must select the remaining 3 cards from the 48 cards that are not 5's.

There are ways to select two 5's from the four 5's in the deck.

There are ways to select the 3 remaining cards from the 48 cards which are not 5's.

We must do both, so by the Fundamental Counting Principle there are C(4,2) * C(48, 3) ways to obtain exactly two 5's.

Self-critique:

------------------------------------------------

Self-critique rating #$&*:

*********************************************

Question: `q002. Using a standard deck of cards, in how many ways is it possible to get a hand containing exactly two 5's and exactly two 9's?

YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY

Your solution:6*6*44=1584

confidence rating #$&*:

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

.............................................

Given Solution: There are C( 4, 2) ways to select exactly two 5's and C(4, 2) ways to select exactly two 9's. There are 44 remaining cards which are neither 9 nor 5.

The total number of possible ways is therefore C(4, 2) * C(4, 2) * 44.

Self-critique:

------------------------------------------------

Self-critique rating #$&*:

*********************************************

Question: `q003. Using a standard deck of cards, in how many ways is it possible to get a 'full house' consisting of two 5's and three 9's?

YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY

Your solution:6*4=24

confidence rating #$&*:

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

.............................................

Given Solution: There are C(4, 2) ways to get two 5's and C(4, 3) ways to get three 9's. It follows that the number of ways to get the specified 'full house' with two 5's and three 9's is C(4,2) * C(4,3).

Self-critique:

------------------------------------------------

Self-critique rating #$&*:

*********************************************

Question: `q004. Using a standard deck of cards, in how many ways is it possible to get a 'full house' consisting of two 5's and three identical face cards?

YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY

Your solution: 72

confidence rating #$&*:

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

.............................................

Given Solution: There are C(4,2) ways to get two 5's and C(4,3) ways to get three of any given face card. There are 3 possible face cards, so the number of ways to get a 'full house' consisting of two 5's and three identical face cards is 3 * C(4,2) * C(4,3).

Self-critique:

------------------------------------------------

Self-critique rating #$&*:

*********************************************

Question: `q005. Using a standard deck of cards, in how many ways is it possible to get a 'full house' consisting of two of one denomination and three of another?

YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY

Your solution:13*12*6*4=3744

confidence rating #$&*:

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

.............................................

Given Solution: For any two denominations, e.g., a pair of 5's and three 9's, there are C(4,2) * C(4,3) different full houses.

There are 13 possible choices for the pair, which leaves 12 possible choices for the three-of-a-kind, which to by the Fundamental Counting Principle makes 13 * 12 possible choices for the two denominations. Note that order does matter when choosing the denominations because one has to be the pair and the other the three-of-a-kind.

Again by the Fundamental Counting Principle we conclude that there are 13 * 12 * C(4,2) * C(4,3) possible full houses.

Self-critique:

------------------------------------------------

Self-critique rating #$&*:

*********************************************

Question: `q006. Using a standard deck of cards, in how many ways is it possible to get a 'flush' consisting of five cards all of the same suit?

YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY

Your solution: 5148

confidence rating #$&*:

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

.............................................

Given Solution: There are 13 cards in any given suit, so there are C(13,5) hands consisting of all 5 cards in that suit. There are 4 suits, so there are 4 * C(13,5) possible flushes.

Self-critique:

------------------------------------------------

Self-critique rating #$&*:

*********************************************

Question: `q007. Using a standard deck of cards, in how many ways is it possible to get a 'straight' consisting of exactly one each of the denominations 5, 6, 7, 8 and 9?

YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY

Your solution:4^5=1024

confidence rating #$&*:

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

.............................................

Given Solution: There are four 5's, four 6's, four 7's, four 8's and four 9's. So there are 4 * 4 * 4 * 4 * 4 = 4^5 possible straights from 5 to 9.

Self-critique:

------------------------------------------------

Self-critique rating #$&*:

*********************************************

Question: `q008. Using a standard deck of cards, in how many ways is it possible to get a 'straight' consisting of five cards of consecutive denominations, assuming that the 'ace' can be either 'high' or 'low'?

YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY

Your solution:

confidence rating #$&*:

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

.............................................

Given Solution: There are 10 possible denominations for the 'low' card of a straight (any card from ace through 10 can serve as the 'low' card of a straight). There are 4^5 possible straights for each possible low card. It follows that there are 10 * 4^5 possible straights.

STUDENT QUESTION: Where does the 4^5 come from? I understand the 10 and 4 different cards of each but did you get the ^5 from the problem before this one?

INSTRUCTOR RESPONSE 4^5 is the number of possibilities for each denomination of the 'low' card. For example we figured out above that there are 4^5 straights with 5 as the low card.

Similarly there are 4^5 straights with the 'ace' low, another 4^5 with the 2 low, etc., with the 'highest' possible 'low card being 10. So there are 10 possible denominations for the 'low' card, and 4^5 possible straights for each 'low' denomination.

&#Good work. Let me know if you have questions. &#