Team 13: Cián Mc Leod, Eoghan O Neill, Ruaidhri O Dowd, Luke Mulcahy

Size: px
Start display at page:

Download "Team 13: Cián Mc Leod, Eoghan O Neill, Ruaidhri O Dowd, Luke Mulcahy"

Transcription

1 Team 13: Cián Mc Leod, Eoghan O Neill, Ruaidhri O Dowd, Luke Mulcahy Our project concerns a simple variation of the game of blackjack (21s). A single player draws cards from a deck with or without replacement. The game only involves one player. The player must take a card on each draw regardless of what sum he has. Each card has a fixed value within a game. Question 1 [With replacement] The images here are taken from the worksheet Simulation without replacement (1). This worksheet simulates a simple game of blackjack with one player who draws cards from a deck with replacement. The game has been simplified in that the Ace card has a fixed value and there is only one player. This player must draw a card on each pass. [Ai] Using the images here, explain how the simulation works. Illustrate your answer with reference to the selected cell. There are four of each of the 13 cards in the deck of cards. As the game is played with replacement, there is a probability of of selecting any of the cards on any of the draws. From this the cumulative probabilities are calculated. A stream of random numbers are drawn and looked up in the cumulative probabilities. Twenty once calls to the random number generator are used as this is the maximum amount of draws a player can have to draw 21. Using the example, lies in the interval (7,8) and so is assigned card 8. The value of this card is then found and added to the sum of the previous sum to give a running sum. [Aii] Consider the alternative process of simulating the game here after the process of using random numbers to generate random values and mapping them to a specific card in the deck, explain the algorithm to get the frequency of blackjacks. After each whole random number has been generated it s ranked to an already pre-determined value in the pack e.g. A 10 results in 4 being picked the probability of selecting any card is the same (1/13) for each draw as the card is replaced after being picked, although as picture cards (bar the ace) are valued as being 10 hence there a bigger chance of drawing a card of value 10 (4/13) as there are 16 rather than 4 of these valued cards. The running score is found by summing all the card values in a game after each respective draw, as can be seen the screenshot below.

2 A countif algorithm is then used to search through the data of running scores to determine the number of blackjacks (21s) obtained after each draw for each game, this can be altered to also determine the frequency of any score from 1 to 210. (B) A thousand of these games are simulated with the table below summarising the results. The average of the first draw is Confirm this using theory developed in class. Use this result to derive expectations for the sum of the second and hence x n draw, where x i refers to the sum of card values after the i th draw. [ ] [ ] If we were to do an infinite number of simulations, we would expect our simulation to equal this theoretical value. As the game is played with replacement, the probabilities for choosing a card are constant for any particular draw. As a result; E[1 st draw] = E[2 nd draw] = E[n th draw] Therefore; [ ] [ ] [ ] [ ] [ ] [ ]

3 Average Score obtained Average Score after each draw Draw Number Average card value drawn Sum after draw n (C) Being in play means that the sum of cards is strictly less than 21. From the above table, we can see that in the simulation, 547 of our games are still in play at the end of the third draw. Use theory to confirm this result. Consider the implications of changing the card values and or number of cards. P(in play at end of third draw) = P(x 3 <21), where x i is the sum of cards at the end of the i th draw and v j is the card value on the j th draw. P(x 3 <21) = P(x 3 = 1,2,3,..,20) = = Sum P(Draw 3) Sum Carrying out the calculations (as per theoretical probabilities without replacement sheet in excel file) will give you the results in the table beside. The probability that a game is still in play at the end of draw three is So in a 1000 games, we would expect 539 to be in play at the end of the third draw. Considering we only achieved 1,000 simulations, a figure of 547 is remarkably close to the theoretical probability calculated here. The question of changing card values and or number of cards is quite an interesting one. Of course, we can engineer the probabilities so that the probability of being in play at the end of draw 3 is zero (set the lowest card value to be 7) or the probability to be 1(set the highest card value to be 6). However, let s consider some interesting blackjack related situations. Commonly, one can choose ace to be high (i.e. 11 rather than 1). Inputting this change to the simulation gives a much less number of games in play at the end of draw 3, with only 365 such games. Removing the picture cards (Jack, Queen & King) gives a deck of cards with each value 1-10 having equal probabilities of being drawn, 0.1. When this is implemented in the simulation we get a probability of 0.78 of being in play at the end of draw three.

4 Frequency Number of 21s obtained after draw n Draw (D) Derive the probabilities of getting 21 at each draw and compare these with those obtained by simulation. We can proceed as we did before in part c. P(x i =21) = Proceeding with these calculations, we get the probabilities for achieving 21 on each draw. The image on the left summarises the probabilities for the first few draws. The highest probability of achieving 21 occurs on the third draw (as one would expect due to the high number of cards valued at 10 in the deck). This shows that if one has not achieved 21 by the third draw that it is unlikely that he will be successful on the fourth draw. Graphing the probabilities for obtaining 21 on each draw for the theory and simulation gives the following image which shows our simulation is a very good substitute for the theoretical calculations which might be quite surprising as we only achieved 1,000 games.

5 P r o b a b i l i t y Distribution of 21s Draw number Theory Simulation (E) Before the game, the dealer allows you to alter the cards in the deck. He gives you a standard deck and also a pack of 100 Jack cards and allows you to add as many Jacks as you would like to the deck. Treating the value of cards as before, how many jacks would you place in this deck to maximise the chance of obtaining 21 at the earliest point. Take x i to be the sum of cards after the i th draw and v i be the value of the card drawn on the i th draw. If we treat the values of cards as before (Ace being one, picture cards 10, and the number cards taking their respective number), then to maximise the chance of obtaining 21 at the earliest point is to maximise the probability that we reach 21 on the third draw. i.e. max{p(x 3 =21)} P(x 3 =21) = Let x be the number of jacks in the deck, where Then: While P(v i = 1) = P(v i = 2) = P(v i = 3) = = P(v i = 9) = P(v i = 10)= Using P(x 3 =21) =, we can derive the probability of x 3 =21 in terms of x; [ ] [ ( ) ) ] Simplifying this expression gives: P(x 3 =21) = Differentiating this to get its maximum: [ ]

6 Probability As [ ], we know that (48+x) 4 >0 for all x. Therefore: =0 and ( ) Therefore x is approximately Looking at our theoretical probabilities with replacement sheet we can implement values for the number of jacks. So having 19 Jack cards in the pack gives us a probability of of obtaining a 21 on the third draw compared with and for 18 and 20 cards respectively. This shows that 19 is indeed a local maximum. So, if given this option we would add a further 15 Jacks to the standard deck. We can actually graph P(x 3 =21) against the number of jacks to see that the maximum does occur at approximately 19 jacks Number of Jacks (F) Let s say that you are playing with this augmented deck (19 Jacks and 4 of each other card) and cards take on their usual values. Given that you achieved 21 in your third draw, what is the probability that you drew a card of value ten (ten, jack, queen or king) in your first draw? Compare this with the simulations We seek P(v 1 = 10 x 3 = 21). Using Baye s theorem, we have ( ) ( ) ( ) ( ) P(x 3 =21) = as above and P(v 1 =10) = ( )

7 Looking at the clipping above taken from our simulation with replacement sheet (1) we can see that out of the 1,000 simulated games, 75 of them were successful in the third draw ( #(x 3 =21)=75). Of these 75 successful games, 33 of them had drawn a card of value ten at draw 1, giving us a probability of 0.44, hence validating the theoretical probability of Question 2 [Without replacement] [Ai] It could be claimed that the 1000 games simulated for looking at sums of cards after drawing from a deck without replacement is too small. What could be meant by this? In general, increasing the number of simulations will make the distribution of the generated counts more representative of the theoretical probability distribution. However, for this particular example, perhaps the generated distribution could be much more accurate. If one were to look at the counts table, it can be observed that each column (representing each draw) should add up to 1000 (as there are 1000 simulations). Considering that for example, for draw 6, the sums can be between 6 and 60 (and larger ranges for further draws), this is a large spread for only 1000 counts. Also a draw affects the probability of future results therefore the data for later draws can become quite skewed. A few clicks of the F9 button may show that the count table shows quite a variable distribution of counts.

8 [Aii] Even so, it can still be claimed that the simulation is very useful. Explain Given the drawback noted in the previous question, the simulation matches the theory for draws 1 to 6 remarkably well. It can be observed that the number of different methods used in deriving the theoretical probabilities were rather elaborate and time consuming in comparison with the rather straightforward simulation. In addition, producing the theory for higher numbers of draws requires ever larger numbers of calculations. Therefore a simulated estimated probability distribution may even be preferable (particularly if it was extended to more simulations, which is a simple task). Final probabilities for draws 1 to 6 from theory compare with a simulation probs sum draw 1 draw 2 draw 3 draw 4 draw 5 draw 6 draw 1 draw 2 draw 3 draw 4 draw 5 draw E E E E E E E E E E E [Bi] For the calculations involving the theoretical probabilities of the sums after 3 draws and the sums after 4 draws, is the step take account of ordering necessary? No, all possibilities could be listed. However, for any given combination, a different ordering has the same probability; therefore some simple rules involving factorials can reduce the number of possibilities that need to be listed. For example, for 3 draws, to incorporate the combinations involving drawing two 2s and one 3, we can consider the following 3 combinations: Draw 1 Draw 2 Draw And then consider the probability of each of these combinations individually. However, these three probabilities are equal three.. Therefore we can list one and multiply the associated probability by In general, we can find the number of orderings by using the fact that the number of ways of ordering n objects where p of type 1 are the same, q of type 2 are the same, r of type 3 are the same.etc. is given by. The only issue now is how to make a list that does not repeat the same combinations of numbers (in different orderings). This can be done in a straightforward (rather algorithmic) manner.

9 e.g [Bii] Compare the probabilities of winning the game for the game played with and without replacement. Game played with replacement Game played without replacement Theoretical probabilities Simulation with probabilities Theoretical probabilities Simulation probabilities Draw Draw Draw Draw Remarkably, the probability of achieving 21 is higher for the games played without replacement than it is with replacement. This is due to higher valued cards being removed. [C] Calculate the expected value from the values and variances for sums of drawn cards from one draw to six draws from the theoretical without replacement slides. Also calculate estimates for the expected values and variances for one to six draws from the without replacement file. Increase the number of simulations and then compare the theoretical expected value and variance with the estimate. Calculations as per question 1b. The example below involves 1000 simulations. expected values estimates of expected values (using a simlation) draw 1 draw 2 draw 3 draw 4 draw 5 draw 6 draw 1 draw 2 draw 3 draw 4 draw 5 draw 6 E[x] E[x] E[x^2] E[x^2] Var[x] Var[x] [D] There were a number of methods used for calculating the theoretical probability distributions for sums of cards without replacement. Create a method for devising the theoretical probability distribution for the sums of drawn cards for 4 draws from a simplified deck that consists of two aces (valued at 1), two 2s, two 3s and four 4s. You may use one of the methods used in the theoretical probability distribution for a 52 card deck or a combination of methods, you may even devise your own method (or alternatively use a simulation, if it is sufficiently accurate). You must then justify your choice of method, discussing

10 issues such as clarity, simplicity, information given and usefulness (e.g. does it give information on conditional probabilities? Can it be used as an easy method for other problems/decks/distributions?, how much time does it take to c Below is an example of a possible method of creating the probability distribution of sums of cards up to 4 draws. This involves calculations for 2 and 3 draws, but note that sums need only be taken account of after 4 draws. Also note that due to the simplification that there are only types of cards, there are relatively few possible combinations and therefore there is not much point in taking account of ordering. Note that there are there are 4 matrices for three draws and our probabilities for 4 draws could also be listed as 16 matrices. The third draw matrices corresponded to different first draws, then they gave probabilities for those first draws and certain 2 nd and 3 rd draws(with the numbers drawn on the second draw represented on the columns and the numbers drawn on the third draw on the rows, however, it could also be displayed the other way around- i.e the transpose of this.) If we were to display the fourth draw probabilities as matrices, we would have 16 matrices corresponding to the 16 possible combinations of first and second draws (and the columns and rows corresponding to the 3 rd and 4 th draws).

11 In principle this method can be extended to n draws with 4 n-2 matrices. However, this may be time consuming and the method displayed below is also effective for the 4 th draw. Note that when finally calculating the probabilities of various sums, it is first necessary to look at the possible events and what sums they correspond to and then take account of their corresponding probabilities (hence for the fourth draw he sums for all possible events are listed- and a sumif function is then used to get the overall probabilities). [E] Below there is a probability distribution associated with a simplified deck and two draws. Does the below distribution show probabilities conditional upon the first draw? Explain you answer. The probabilities are not conditinal in the sense that they give the probability of drawing a card of value x in the second draw given that a card of value y was drawn in the first draw. Rather the probabilities are for all possible events involving two draws, i.e the probability of drawing an x on the first draw and drawing a y on the second draw. This should be apparent form the sums given at the bottom of the table. [F] Amend the table given in the above question so that the probabilities for the second draw conditional upon he first draw are given. Would it be easier to do this by theory or simulation? This simply involves the same values as in the table for the previous question, however it is no longer necessary to multiply by the probability for the corresponding first draw. This can be generalised to further draws. This is easier to do by theory as it just involves lists (and then using the countif function) than by simulation (as this would involve taking account of the number of counts for the first draw and then the number of counts for the second draw. Therefore an attempt to answer this question by

12 simulation would involve simulating random orderings of the 10 cards (by using random numbers and a rank function), then the probability of drawing card x given that card y is drawn is estimated by: This appears to be more difficult/tedious than the theoretical approach. However in principle this same general method can be used to give estimates of a wide variety of conditional probabilities for any number of draws.

Blackjack Project. Due Wednesday, Dec. 6

Blackjack Project. Due Wednesday, Dec. 6 Blackjack Project Due Wednesday, Dec. 6 1 Overview Blackjack, or twenty-one, is certainly one of the best-known games of chance in the world. Even if you ve never stepped foot in a casino in your life,

More information

Corners! How To Play - a Comprehensive Guide. Written by Peter V. Costescu RPClasses.com

Corners! How To Play - a Comprehensive Guide. Written by Peter V. Costescu RPClasses.com Corners! How To Play - a Comprehensive Guide. Written by Peter V. Costescu 2017 RPClasses.com How to Play Corners A Comprehensive Guide There are many different card games out there, and there are a variety

More information

Please Turn Over Page 1 of 7

Please Turn Over Page 1 of 7 . Page 1 of 7 ANSWER ALL QUESTIONS Question 1: (25 Marks) A random sample of 35 homeowners was taken from the village Penville and their ages were recorded. 25 31 40 50 62 70 99 75 65 50 41 31 25 26 31

More information

1. Number of Players Two people can play.

1. Number of Players Two people can play. Two-Handed Pinochle Rules (with Bidding) Pinochle is a classic two-player game developed in the United States, and it is still one of the country's most popular games. The basic game of Pinochle is Two-Hand

More information

NUMB3RS Activity: A Bit of Basic Blackjack. Episode: Double Down

NUMB3RS Activity: A Bit of Basic Blackjack. Episode: Double Down Teacher Page 1 : A Bit of Basic Blackjack Topic: Probability involving sampling without replacement Grade Level: 8-12 and dependent trials. Objective: Compute the probability of winning in several blackjack

More information

Laboratory 1: Uncertainty Analysis

Laboratory 1: Uncertainty Analysis University of Alabama Department of Physics and Astronomy PH101 / LeClair May 26, 2014 Laboratory 1: Uncertainty Analysis Hypothesis: A statistical analysis including both mean and standard deviation can

More information

STATION 1: ROULETTE. Name of Guesser Tally of Wins Tally of Losses # of Wins #1 #2

STATION 1: ROULETTE. Name of Guesser Tally of Wins Tally of Losses # of Wins #1 #2 Casino Lab 2017 -- ICM The House Always Wins! Casinos rely on the laws of probability and expected values of random variables to guarantee them profits on a daily basis. Some individuals will walk away

More information

Make better decisions. Learn the rules of the game before you play.

Make better decisions. Learn the rules of the game before you play. BLACKJACK BLACKJACK Blackjack, also known as 21, is a popular casino card game in which players compare their hand of cards with that of the dealer. To win at Blackjack, a player must create a hand with

More information

Integer Compositions Applied to the Probability Analysis of Blackjack and the Infinite Deck Assumption

Integer Compositions Applied to the Probability Analysis of Blackjack and the Infinite Deck Assumption arxiv:14038081v1 [mathco] 18 Mar 2014 Integer Compositions Applied to the Probability Analysis of Blackjack and the Infinite Deck Assumption Jonathan Marino and David G Taylor Abstract Composition theory

More information

CHAPTER 2 NOTES. Chapter 2 Level 1

CHAPTER 2 NOTES. Chapter 2 Level 1 CHAPTER 2 NOTES Chapter 2 Level 1 Page 83 o Open the file Chapter 2 Level 1 and save it as QC Analysis. o In cell H3, enter the formula =ROUND(G3,2) o Copy that formula down through H4:H31 o Set the format

More information

Moose Mathematics Games Journal Table of Contents

Moose Mathematics Games Journal Table of Contents Moose Mathematics Games Journal Table of Contents Game # Name Skills 1 MOOSE Mental Math - Addition Probability Fraction Number Sense 2 Moose Nim (Variation) Logical Reasoning Multiples Analyzing Games

More information

Beeches Holiday Lets Games Manual

Beeches Holiday Lets Games Manual Beeches Holiday Lets Games Manual www.beechesholidaylets.co.uk Page 1 Contents Shut the box... 3 Yahtzee Instructions... 5 Overview... 5 Game Play... 5 Upper Section... 5 Lower Section... 5 Combinations...

More information

Roll & Make. Represent It a Different Way. Show Your Number as a Number Bond. Show Your Number on a Number Line. Show Your Number as a Strip Diagram

Roll & Make. Represent It a Different Way. Show Your Number as a Number Bond. Show Your Number on a Number Line. Show Your Number as a Strip Diagram Roll & Make My In Picture Form In Word Form In Expanded Form With Money Represent It a Different Way Make a Comparison Statement with a Greater than Your Make a Comparison Statement with a Less than Your

More information

Players try to obtain a hand whose total value is greater than that of the house, without going over 21.

Players try to obtain a hand whose total value is greater than that of the house, without going over 21. OBJECT OF THE GAME Players try to obtain a hand whose total value is greater than that of the house, without going over 21. CARDS Espacejeux 3-Hand Blackjack uses five 52-card decks that are shuffled after

More information

Chapter 0: Preparing for Advanced Algebra

Chapter 0: Preparing for Advanced Algebra Lesson 0-1: Representing Functions Date: Example 1: Locate Coordinates Name the quadrant in which the point is located. Example 2: Identify Domain and Range State the domain and range of each relation.

More information

Exam #1. Good luck! Page 1 of 7

Exam #1. Good luck! Page 1 of 7 Exam # Total: 00 points Date: July, 008 Time: :00 :0 You have hour and 0 minutes to finish the exam. Please read the question carefully and assign your time smartly. Please PRINIT your name on each page

More information

Whole Numbers. Predecessor and successor Given any natural number, you can add 1 to that number and get the next number i.e. you

Whole Numbers. Predecessor and successor Given any natural number, you can add 1 to that number and get the next number i.e. you Whole Numbers Chapter.1 Introduction As we know, we use 1,, 3, 4,... when we begin to count. They come naturally when we start counting. Hence, mathematicians call the counting numbers as Natural numbers.

More information

A UNIQUE COMBINATION OF CHANCE & SKILL.

A UNIQUE COMBINATION OF CHANCE & SKILL. A UNIQUE COMBINATION OF CHANCE & SKILL. The popularity of blackjack stems from its unique combination of chance and skill. The object of the game is to form a hand closer to 21 than the dealer without

More information

LEARN HOW TO PLAY MINI-BRIDGE

LEARN HOW TO PLAY MINI-BRIDGE MINI BRIDGE - WINTER 2016 - WEEK 1 LAST REVISED ON JANUARY 29, 2016 COPYRIGHT 2016 BY DAVID L. MARCH INTRODUCTION THE PLAYERS MiniBridge is a game for four players divided into two partnerships. The partners

More information

Addition and Subtraction of Polynomials

Addition and Subtraction of Polynomials Student Probe What is 10x 2 2y x + 4y 6x 2? Addition and Subtraction of Polynomials Answer: 4x 2 x + 2y The terms 10x 2 and - 6x 2 should be combined because they are like bases and the terms - 2y and

More information

game tree complete all possible moves

game tree complete all possible moves Game Trees Game Tree A game tree is a tree the nodes of which are positions in a game and edges are moves. The complete game tree for a game is the game tree starting at the initial position and containing

More information

CSCI 4150 Introduction to Artificial Intelligence, Fall 2004 Assignment 7 (135 points), out Monday November 22, due Thursday December 9

CSCI 4150 Introduction to Artificial Intelligence, Fall 2004 Assignment 7 (135 points), out Monday November 22, due Thursday December 9 CSCI 4150 Introduction to Artificial Intelligence, Fall 2004 Assignment 7 (135 points), out Monday November 22, due Thursday December 9 Learning to play blackjack In this assignment, you will implement

More information

Motif finding. GCB 535 / CIS 535 M. T. Lee, 10 Oct 2004

Motif finding. GCB 535 / CIS 535 M. T. Lee, 10 Oct 2004 Motif finding GCB 535 / CIS 535 M. T. Lee, 10 Oct 2004 Our goal is to identify significant patterns of letters (nucleotides, amino acids) contained within long sequences. The pattern is called a motif.

More information

Programming Exam. 10% of course grade

Programming Exam. 10% of course grade 10% of course grade War Overview For this exam, you will create the card game war. This game is very simple, but we will create a slightly modified version of the game to hopefully make your life a little

More information

CSEP 573 Applications of Artificial Intelligence Winter 2011 Assignment 3 Due: Wednesday February 16, 6:30PM

CSEP 573 Applications of Artificial Intelligence Winter 2011 Assignment 3 Due: Wednesday February 16, 6:30PM CSEP 573 Applications of Artificial Intelligence Winter 2011 Assignment 3 Due: Wednesday February 16, 6:30PM Q 1: [ 9 points ] The purpose of this question is to show that STRIPS is more expressive than

More information

Simulation Modeling C H A P T E R boo 2005/8/ page 140

Simulation Modeling C H A P T E R boo 2005/8/ page 140 page 140 C H A P T E R 7 Simulation Modeling It is not unusual that the complexity of a phenomenon or system makes a direct mathematical attack time-consuming, or worse, intractable. An alternative modeling

More information

Developed by Rashmi Kathuria. She can be reached at

Developed by Rashmi Kathuria. She can be reached at Developed by Rashmi Kathuria. She can be reached at . Photocopiable Activity 1: Step by step Topic Nature of task Content coverage Learning objectives Task Duration Arithmetic

More information

LET S PLAY PONTOON. Pontoon also offers many unique payouts as well as a Super Bonus of up to $5000 on certain hands.

LET S PLAY PONTOON. Pontoon also offers many unique payouts as well as a Super Bonus of up to $5000 on certain hands. How to play PONTOON LET S PLAY PONTOON Pontoon is a popular game often played in homes around Australia. Pontoon is great fun on its own or as an introduction to other more strategic casino card games

More information

Up & Down GOAL OF THE GAME UP&DOWN CARD A GAME BY JENS MERKL & JEAN-CLAUDE PELLIN ART BY CAMILLE CHAUSSY

Up & Down GOAL OF THE GAME UP&DOWN CARD A GAME BY JENS MERKL & JEAN-CLAUDE PELLIN ART BY CAMILLE CHAUSSY Up & Down A GAME BY JENS MERKL & JEAN-CLAUDE PELLIN ART BY CAMILLE CHAUSSY GOAL OF THE GAME UP&DOWN is a trick taking game with plenty of ups and downs. This is because prior to each trick, one of the

More information

3. If you can t make the sum with your cards, you must draw one card. 4. Players take turns rolling and discarding cards.

3. If you can t make the sum with your cards, you must draw one card. 4. Players take turns rolling and discarding cards. 1 to 10 Purpose: The object of the game is to get rid of all your cards. One player gets all the red cards, the other gets all the black cards. Players: 2-4 players Materials: 2 dice, a deck of cards,

More information

Activity 1: Play comparison games involving fractions, decimals and/or integers.

Activity 1: Play comparison games involving fractions, decimals and/or integers. Students will be able to: Lesson Fractions, Decimals, Percents and Integers. Play comparison games involving fractions, decimals and/or integers,. Complete percent increase and decrease problems, and.

More information

CHAPTER 6 PROBABILITY. Chapter 5 introduced the concepts of z scores and the normal curve. This chapter takes

CHAPTER 6 PROBABILITY. Chapter 5 introduced the concepts of z scores and the normal curve. This chapter takes CHAPTER 6 PROBABILITY Chapter 5 introduced the concepts of z scores and the normal curve. This chapter takes these two concepts a step further and explains their relationship with another statistical concept

More information

1. A factory makes calculators. Over a long period, 2 % of them are found to be faulty. A random sample of 100 calculators is tested.

1. A factory makes calculators. Over a long period, 2 % of them are found to be faulty. A random sample of 100 calculators is tested. 1. A factory makes calculators. Over a long period, 2 % of them are found to be faulty. A random sample of 0 calculators is tested. Write down the expected number of faulty calculators in the sample. Find

More information

Math Exam 2 Review. NOTE: For reviews of the other sections on Exam 2, refer to the first page of WIR #4 and #5.

Math Exam 2 Review. NOTE: For reviews of the other sections on Exam 2, refer to the first page of WIR #4 and #5. Math 166 Fall 2008 c Heather Ramsey Page 1 Math 166 - Exam 2 Review NOTE: For reviews of the other sections on Exam 2, refer to the first page of WIR #4 and #5. Section 3.2 - Measures of Central Tendency

More information

Math Exam 2 Review. NOTE: For reviews of the other sections on Exam 2, refer to the first page of WIR #4 and #5.

Math Exam 2 Review. NOTE: For reviews of the other sections on Exam 2, refer to the first page of WIR #4 and #5. Math 166 Fall 2008 c Heather Ramsey Page 1 Math 166 - Exam 2 Review NOTE: For reviews of the other sections on Exam 2, refer to the first page of WIR #4 and #5. Section 3.2 - Measures of Central Tendency

More information

RANDOM EXPERIMENTS AND EVENTS

RANDOM EXPERIMENTS AND EVENTS Random Experiments and Events 18 RANDOM EXPERIMENTS AND EVENTS In day-to-day life we see that before commencement of a cricket match two captains go for a toss. Tossing of a coin is an activity and getting

More information

Mathematics 'A' level Module MS1: Statistics 1. Probability. The aims of this lesson are to enable you to. calculate and understand probability

Mathematics 'A' level Module MS1: Statistics 1. Probability. The aims of this lesson are to enable you to. calculate and understand probability Mathematics 'A' level Module MS1: Statistics 1 Lesson Three Aims The aims of this lesson are to enable you to calculate and understand probability apply the laws of probability in a variety of situations

More information

CS Project 1 Fall 2017

CS Project 1 Fall 2017 Card Game: Poker - 5 Card Draw Due: 11:59 pm on Wednesday 9/13/2017 For this assignment, you are to implement the card game of Five Card Draw in Poker. The wikipedia page Five Card Draw explains the order

More information

Probability Interactives from Spire Maths A Spire Maths Activity

Probability Interactives from Spire Maths A Spire Maths Activity Probability Interactives from Spire Maths A Spire Maths Activity https://spiremaths.co.uk/ia/ There are 12 sets of Probability Interactives: each contains a main and plenary flash file. Titles are shown

More information

MEI Conference Short Open-Ended Investigations for KS3

MEI Conference Short Open-Ended Investigations for KS3 MEI Conference 2012 Short Open-Ended Investigations for KS3 Kevin Lord Kevin.lord@mei.org.uk 10 Ideas for Short Investigations These are some of the investigations that I have used many times with a variety

More information

Grade 7/8 Math Circles February 25/26, Probability

Grade 7/8 Math Circles February 25/26, Probability Faculty of Mathematics Waterloo, Ontario N2L 3G1 Probability Grade 7/8 Math Circles February 25/26, 2014 Probability Centre for Education in Mathematics and Computing Probability is the study of how likely

More information

and Games Developing Numeracy Skills Using Visual Tools A Workshop by Trevor Calkins

and Games Developing Numeracy Skills Using Visual Tools A Workshop by Trevor Calkins Egg Cartons, Brains and Games Developing Numeracy Skills Using Visual Tools A Workshop by Trevor Calkins 809 Kimberley Place, Victoria, B. C. V8X 4R2 Tel: (250) 744-2613 Fax: (250) 744-2673 Cell: (250)

More information

Welcome to the Best of Poker Help File.

Welcome to the Best of Poker Help File. HELP FILE Welcome to the Best of Poker Help File. Poker is a family of card games that share betting rules and usually (but not always) hand rankings. Best of Poker includes multiple variations of Home

More information

Statistical House Edge Analysis for Proposed Casino Game Jacks

Statistical House Edge Analysis for Proposed Casino Game Jacks Statistical House Edge Analysis for Proposed Casino Game Jacks Prepared by: Precision Consulting Company, LLC Date: October 1, 2011 228 PARK AVENUE SOUTH NEW YORK, NEW YORK 10003 TELEPHONE 646/553-4730

More information

Week 1 Beginner s Course

Week 1 Beginner s Course Bridge v Whist Bridge is one of the family of Whist/Trump type games. It was developed from Whist mainly in the US - and shares a lot of its features. As Whist we play with a standard pack of 52 cards

More information

Here are two situations involving chance:

Here are two situations involving chance: Obstacle Courses 1. Introduction. Here are two situations involving chance: (i) Someone rolls a die three times. (People usually roll dice in pairs, so dice is more common than die, the singular form.)

More information

Poker: Further Issues in Probability. Poker I 1/29

Poker: Further Issues in Probability. Poker I 1/29 Poker: Further Issues in Probability Poker I 1/29 How to Succeed at Poker (3 easy steps) 1 Learn how to calculate complex probabilities and/or memorize lots and lots of poker-related probabilities. 2 Take

More information

Probability Simulation User s Manual

Probability Simulation User s Manual Probability Simulation User s Manual Documentation of features and usage for Probability Simulation Copyright 2000 Corey Taylor and Rusty Wagner 1 Table of Contents 1. General Setup 3 2. Coin Section 4

More information

EDC Championship rules v1.3 As adapted for ECA European Dealer Championship. General

EDC Championship rules v1.3 As adapted for ECA European Dealer Championship. General EDC Championship rules v1.3 General The ECA reserves the right to promote and provide reportage of the championship via various broadcast mediums such as radio, television, internet, newspapers, etcetera,

More information

Activity: Even + Even + Odd =?

Activity: Even + Even + Odd =? Activity: Even + Even + Odd =? USE THEORETICAL PROBABILITIES AND EXPERIMENTAL RESULTS TO MAKE PREDICTION & DECISIONS FIND THE PROBABILITIES OF DEPENDENT AND INDEPENDENT EVENTS VALIDATE CONCLUSIONS USING

More information

GAMBLING ( ) Name: Partners: everyone else in the class

GAMBLING ( ) Name: Partners: everyone else in the class Name: Partners: everyone else in the class GAMBLING Games of chance, such as those using dice and cards, oporate according to the laws of statistics: the most probable roll is the one to bet on, and the

More information

Probabilities and Probability Distributions

Probabilities and Probability Distributions Probabilities and Probability Distributions George H Olson, PhD Doctoral Program in Educational Leadership Appalachian State University May 2012 Contents Basic Probability Theory Independent vs. Dependent

More information

Introduction to Auction Theory: Or How it Sometimes

Introduction to Auction Theory: Or How it Sometimes Introduction to Auction Theory: Or How it Sometimes Pays to Lose Yichuan Wang March 7, 20 Motivation: Get students to think about counter intuitive results in auctions Supplies: Dice (ideally per student)

More information

Probability. The MEnTe Program Math Enrichment through Technology. Title V East Los Angeles College

Probability. The MEnTe Program Math Enrichment through Technology. Title V East Los Angeles College Probability The MEnTe Program Math Enrichment through Technology Title V East Los Angeles College 2003 East Los Angeles College. All rights reserved. Topics Introduction Empirical Probability Theoretical

More information

Empirical (or statistical) probability) is based on. The empirical probability of an event E is the frequency of event E.

Empirical (or statistical) probability) is based on. The empirical probability of an event E is the frequency of event E. Probability and Statistics Chapter 3 Notes Section 3-1 I. Probability Experiments. A. When weather forecasters say There is a 90% chance of rain tomorrow, or a doctor says There is a 35% chance of a successful

More information

Introduction to probability

Introduction to probability Introduction to probability Suppose an experiment has a finite set X = {x 1,x 2,...,x n } of n possible outcomes. Each time the experiment is performed exactly one on the n outcomes happens. Assign each

More information

MASSACHUSETTS INSTITUTE OF TECHNOLOGY

MASSACHUSETTS INSTITUTE OF TECHNOLOGY MASSACHUSETTS INSTITUTE OF TECHNOLOGY 15.053 Optimization Methods in Management Science (Spring 2007) Problem Set 7 Due April 12 th, 2007 at :30 pm. You will need 157 points out of 185 to receive a grade

More information

Cutting a Pie Is Not a Piece of Cake

Cutting a Pie Is Not a Piece of Cake Cutting a Pie Is Not a Piece of Cake Julius B. Barbanel Department of Mathematics Union College Schenectady, NY 12308 barbanej@union.edu Steven J. Brams Department of Politics New York University New York,

More information

Chapter 2. Games of Chance. A short questionnaire part 1

Chapter 2. Games of Chance. A short questionnaire part 1 Chapter 2 Games of Chance A short questionnaire part Question Rank the following gambles: A: win $5 million with probability win $ million with probability win $ with probability B: win $5 million with

More information

The Human Calculator: (Whole class activity)

The Human Calculator: (Whole class activity) More Math Games and Activities Gordon Scott, November 1998 Apart from the first activity, all the rest are untested. They are closely related to others that have been tried in class, so they should be

More information

Casino Lab AP Statistics

Casino Lab AP Statistics Casino Lab AP Statistics Casino games are governed by the laws of probability (and those enacted by politicians, too). The same laws (probabilistic, not political) rule the entire known universe. If the

More information

A. Rules of blackjack, representations, and playing blackjack

A. Rules of blackjack, representations, and playing blackjack CSCI 4150 Introduction to Artificial Intelligence, Fall 2005 Assignment 7 (140 points), out Monday November 21, due Thursday December 8 Learning to play blackjack In this assignment, you will implement

More information

BRIDGE is a card game for four players, who sit down at a

BRIDGE is a card game for four players, who sit down at a THE TRICKS OF THE TRADE 1 Thetricksofthetrade In this section you will learn how tricks are won. It is essential reading for anyone who has not played a trick-taking game such as Euchre, Whist or Five

More information

n! = n(n 1)(n 2) 3 2 1

n! = n(n 1)(n 2) 3 2 1 A Counting A.1 First principles If the sample space Ω is finite and the outomes are equally likely, then the probability measure is given by P(E) = E / Ω where E denotes the number of outcomes in the event

More information

Martin J. Silverthorne. SILVERTHORNE PuBLICATIONS

Martin J. Silverthorne. SILVERTHORNE PuBLICATIONS Martin J. Silverthorne How to Play Baccarat Like a Pro! SILVERTHORNE PuBLICATIONS How to Play Baccarat Like a Pro! COPYRIGHT 2015 by Silverthorne Publications Inc. All rights reserved. Except for brief

More information

CRISS-CROSS POKER. Community cards Cards which are used by all players to form a five-card Poker hand.

CRISS-CROSS POKER. Community cards Cards which are used by all players to form a five-card Poker hand. CRISS-CROSS POKER 1. Definitions The following words and terms, when used in the Rules of the Game of Criss-Cross Poker, shall have the following meanings, unless the context clearly indicates otherwise:

More information

Fundamentals of Probability

Fundamentals of Probability Fundamentals of Probability Introduction Probability is the likelihood that an event will occur under a set of given conditions. The probability of an event occurring has a value between 0 and 1. An impossible

More information

GorbyX Rummy is a unique variation of Rummy card games using the invented five suited

GorbyX Rummy is a unique variation of Rummy card games using the invented five suited GorbyX Rummy is a unique variation of Rummy card games using the invented five suited GorbyX playing cards where each suit represents one of the commonly recognized food groups such as vegetables, fruits,

More information

G R AD E 4 UNIT 3: FRACTIONS - LESSONS 1-3

G R AD E 4 UNIT 3: FRACTIONS - LESSONS 1-3 G R AD E UNIT : FRACTIONS - LESSONS - KEY CONCEPT OVERVIEW In these lessons, students explore fraction equivalence. They show how fractions can be expressed as the sum of smaller fractions by using different

More information

Milton Public Schools Elementary Summer Math

Milton Public Schools Elementary Summer Math Milton Public Schools Elementary Summer Math Did you know that the average American child loses between 1 and 3 months of learning in reading and math each summer? You can continue to love and enjoy your

More information

CATFISH BEND CASINOS, L.C. RULES OF THE GAME FORTUNE PAI GOW

CATFISH BEND CASINOS, L.C. RULES OF THE GAME FORTUNE PAI GOW CATFISH BEND CASINOS, L.C. RULES OF THE GAME FORTUNE PAI GOW TABLE OF CONTENTS Introduction FPG - 2 Pai Gow Poker Hand Rankings FPG - 3 Fortune Bonus Qualifying Hand FPG - 4 Fortune Bonus Payouts FPG -

More information

CATFISH BEND CASINOS, L.C. RULES OF THE GAME FOUR CARD POKER

CATFISH BEND CASINOS, L.C. RULES OF THE GAME FOUR CARD POKER CATFISH BEND CASINOS, L.C. RULES OF THE GAME FOUR CARD POKER TABLE OF CONTENTS Introduction FCP - 2 Definitions FCP - 2 Cards; Number of Decks FCP - 3 Shuffle Procedures FCP - 3 Four Card Poker Rankings

More information

Graphing Guidelines. Controlled variables refers to all the things that remain the same during the entire experiment.

Graphing Guidelines. Controlled variables refers to all the things that remain the same during the entire experiment. Graphing Graphing Guidelines Graphs must be neatly drawn using a straight edge and pencil. Use the x-axis for the manipulated variable and the y-axis for the responding variable. Manipulated Variable AKA

More information

Cross Out Singles. 3. Players then find the sums of the rows, columns, and diagonal, and record them in the respective circles.

Cross Out Singles. 3. Players then find the sums of the rows, columns, and diagonal, and record them in the respective circles. Materials: Cross Out Singles recording sheet, and 1 die. Cross Out Singles How To Play: 1. The die is rolled. Both players put this number in whichever one of the squares on their Round 1 chart they choose.

More information

For this assignment, your job is to create a program that plays (a simplified version of) blackjack. Name your program blackjack.py.

For this assignment, your job is to create a program that plays (a simplified version of) blackjack. Name your program blackjack.py. CMPT120: Introduction to Computing Science and Programming I Instructor: Hassan Khosravi Summer 2012 Assignment 3 Due: July 30 th This assignment is to be done individually. ------------------------------------------------------------------------------------------------------------

More information

Comp 3211 Final Project - Poker AI

Comp 3211 Final Project - Poker AI Comp 3211 Final Project - Poker AI Introduction Poker is a game played with a standard 52 card deck, usually with 4 to 8 players per game. During each hand of poker, players are dealt two cards and must

More information

Eleventh Annual Ohio Wesleyan University Programming Contest April 1, 2017 Rules: 1. There are six questions to be completed in four hours. 2.

Eleventh Annual Ohio Wesleyan University Programming Contest April 1, 2017 Rules: 1. There are six questions to be completed in four hours. 2. Eleventh Annual Ohio Wesleyan University Programming Contest April 1, 217 Rules: 1. There are six questions to be completed in four hours. 2. All questions require you to read the test data from standard

More information

Diet customarily implies a deliberate selection of food and/or the sum of food, consumed to control body weight.

Diet customarily implies a deliberate selection of food and/or the sum of food, consumed to control body weight. GorbyX Bridge is a unique variation of Bridge card games using the invented five suited GorbyX playing cards where each suit represents one of the commonly recognized food groups such as vegetables, fruits,

More information

CS107L Handout 06 Autumn 2007 November 2, 2007 CS107L Assignment: Blackjack

CS107L Handout 06 Autumn 2007 November 2, 2007 CS107L Assignment: Blackjack CS107L Handout 06 Autumn 2007 November 2, 2007 CS107L Assignment: Blackjack Much of this assignment was designed and written by Julie Zelenski and Nick Parlante. You're tired of hanging out in Terman and

More information

, x {1, 2, k}, where k > 0. (a) Write down P(X = 2). (1) (b) Show that k = 3. (4) Find E(X). (2) (Total 7 marks)

, x {1, 2, k}, where k > 0. (a) Write down P(X = 2). (1) (b) Show that k = 3. (4) Find E(X). (2) (Total 7 marks) 1. The probability distribution of a discrete random variable X is given by 2 x P(X = x) = 14, x {1, 2, k}, where k > 0. Write down P(X = 2). (1) Show that k = 3. Find E(X). (Total 7 marks) 2. In a game

More information

Poker Hand Rankings Highest to Lowest A Poker Hand s Rank determines the winner of the pot!

Poker Hand Rankings Highest to Lowest A Poker Hand s Rank determines the winner of the pot! POKER GAMING GUIDE Poker Hand Rankings Highest to Lowest A Poker Hand s Rank determines the winner of the pot! ROYAL FLUSH Ace, King, Queen, Jack, and 10 of the same suit. STRAIGHT FLUSH Five cards of

More information

Problem A. Worst Locations

Problem A. Worst Locations Problem A Worst Locations Two pandas A and B like each other. They have been placed in a bamboo jungle (which can be seen as a perfect binary tree graph of 2 N -1 vertices and 2 N -2 edges whose leaves

More information

PROBLEM SET 2 Due: Friday, September 28. Reading: CLRS Chapter 5 & Appendix C; CLR Sections 6.1, 6.2, 6.3, & 6.6;

PROBLEM SET 2 Due: Friday, September 28. Reading: CLRS Chapter 5 & Appendix C; CLR Sections 6.1, 6.2, 6.3, & 6.6; CS231 Algorithms Handout #8 Prof Lyn Turbak September 21, 2001 Wellesley College PROBLEM SET 2 Due: Friday, September 28 Reading: CLRS Chapter 5 & Appendix C; CLR Sections 6.1, 6.2, 6.3, & 6.6; Suggested

More information

Stat 155: solutions to midterm exam

Stat 155: solutions to midterm exam Stat 155: solutions to midterm exam Michael Lugo October 21, 2010 1. We have a board consisting of infinitely many squares labeled 0, 1, 2, 3,... from left to right. Finitely many counters are placed on

More information

Exploring Concepts with Cubes. A resource book

Exploring Concepts with Cubes. A resource book Exploring Concepts with Cubes A resource book ACTIVITY 1 Gauss s method Gauss s method is a fast and efficient way of determining the sum of an arithmetic series. Let s illustrate the method using the

More information

CHAPTER 659a. FORTUNE ASIA POKER

CHAPTER 659a. FORTUNE ASIA POKER Ch. 659a FORTUNE ASIA POKER 58 659a.1 CHAPTER 659a. FORTUNE ASIA POKER Sec. 659a.1. 659a.2. 659a.3. 659a.4. 659a.5. 659a.6. 659a.7. 659a.8. 659a.9. 659a.10. 659a.11. 659a.12. 659a.13. Definitions. Fortune

More information

CS Programming Project 1

CS Programming Project 1 CS 340 - Programming Project 1 Card Game: Kings in the Corner Due: 11:59 pm on Thursday 1/31/2013 For this assignment, you are to implement the card game of Kings Corner. We will use the website as http://www.pagat.com/domino/kingscorners.html

More information

Maryland State Lottery and Gaming Control Agency Standard Rules - Double Draw Poker

Maryland State Lottery and Gaming Control Agency Standard Rules - Double Draw Poker Table of Contents Chapter 1 Definitions.... 2 Chapter 2 - Double Draw Poker Tables.... 3 Chapter 3 Cards; Number of Decks.... 5 Chapter 4 Opening a Table for Gaming.... 6 Chapter 5 Shuffling and Cutting

More information

Assignment 4: Permutations and Combinations

Assignment 4: Permutations and Combinations Assignment 4: Permutations and Combinations CS244-Randomness and Computation Assigned February 18 Due February 27 March 10, 2015 Note: Python doesn t have a nice built-in function to compute binomial coeffiecients,

More information

BLACKJACK. The following words and terms, when used in this section, shall have the following meanings unless the context clearly indicates otherwise.

BLACKJACK. The following words and terms, when used in this section, shall have the following meanings unless the context clearly indicates otherwise. BLACKJACK 1. Definitions The following words and terms, when used in this section, shall have the following meanings unless the context clearly indicates otherwise. Blackjack-- shall mean an ace and any

More information

Ch. 670a SIX-CARD FORTUNE PAI GOW POKER a.1. CHAPTER 670a. SIX-CARD FORTUNE PAI GOW POKER

Ch. 670a SIX-CARD FORTUNE PAI GOW POKER a.1. CHAPTER 670a. SIX-CARD FORTUNE PAI GOW POKER Ch. 670a SIX-CARD FORTUNE PAI GOW POKER 58 670a.1 CHAPTER 670a. SIX-CARD FORTUNE PAI GOW POKER Sec. 670a.1. 670a.2. 670a.3. 670a.4. 670a.5. 670a.6. 670a.7. 670a.8. 670a.9. 670a.10. 670a.11. 670a.12. 670a.13.

More information

Playing With Mazes. 3. Solving Mazes. David B. Suits Department of Philosophy Rochester Institute of Technology Rochester NY 14623

Playing With Mazes. 3. Solving Mazes. David B. Suits Department of Philosophy Rochester Institute of Technology Rochester NY 14623 Playing With Mazes David B. uits Department of Philosophy ochester Institute of Technology ochester NY 14623 Copyright 1994 David B. uits 3. olving Mazes Once a maze is known to be connected, there are

More information

Scoring methods and tactics for Duplicate and Swiss pairs

Scoring methods and tactics for Duplicate and Swiss pairs Scoring methods and tactics for Duplicate and Swiss pairs This note discusses the match-point (MP) and international match-point (IMP) scoring methods and highlights subtle changes to bidding and card

More information

DIVERSE PROBLEMS CONCERNING THE GAME OF TREIZE

DIVERSE PROBLEMS CONCERNING THE GAME OF TREIZE DIVERSE PROBLEMS CONCERNING THE GAME OF TREIZE PIERRE RENARD DE MONTMORT EXTRACTED FROM THE ESSAY D ANALYSE SUR LES JEUX DE HAZARD 2ND EDITION OF 73, PP. 30 43 EXPLICATION OF THE GAME. 98. The players

More information

Sheepshead, THE Game Set Up

Sheepshead, THE Game Set Up Figure 1 is a screen shot of the Partner Method tab. Figure 1 The Partner Method determines how the partner is calculated. 1. Jack of Diamonds Call Up Before Picking. This method allows the picker to call

More information

Intermediate Math Circles November 1, 2017 Probability I

Intermediate Math Circles November 1, 2017 Probability I Intermediate Math Circles November 1, 2017 Probability I Probability is the study of uncertain events or outcomes. Games of chance that involve rolling dice or dealing cards are one obvious area of application.

More information

Texas Hold'em $2 - $4

Texas Hold'em $2 - $4 Basic Play Texas Hold'em $2 - $4 Texas Hold'em is a variation of 7 Card Stud and used a standard 52-card deck. All players share common cards called "community cards". The dealer position is designated

More information

How to divide things fairly

How to divide things fairly MPRA Munich Personal RePEc Archive How to divide things fairly Steven Brams and D. Marc Kilgour and Christian Klamler New York University, Wilfrid Laurier University, University of Graz 6. September 2014

More information

Math 152: Applicable Mathematics and Computing

Math 152: Applicable Mathematics and Computing Math 152: Applicable Mathematics and Computing May 8, 2017 May 8, 2017 1 / 15 Extensive Form: Overview We have been studying the strategic form of a game: we considered only a player s overall strategy,

More information

MATH 13150: Freshman Seminar Unit 4

MATH 13150: Freshman Seminar Unit 4 MATH 1150: Freshman Seminar Unit 1. How to count the number of collections The main new problem in this section is we learn how to count the number of ways to pick k objects from a collection of n objects,

More information