Fall 2017 March 13, Written Homework 4

Size: px
Start display at page:

Download "Fall 2017 March 13, Written Homework 4"

Transcription

1 CS1800 Discrete Structures Profs. Aslam, Gold, & Pavlu Fall 017 March 13, 017 Assigned: Fri Oct Due: Wed Nov Instructions: Written Homework 4 The assignment has to be uploaded to blackboard by the due date. NO assignment will be accepted after 11:59pm on that day. We expect that you will study with friends and often work out problem solutions together, but you must write up your own solutions, in your own words. Cheating will not be tolerated. Professors, TAs, and peer tutors will be available to answer questions but will not do your homework for you. One of our course goals is to teach you how to think on your own. We require that all homework submissions be neat and easily readable. We recommend using a word processor like Microsoft Word or LaTeX for your submissions. If you scan your homework, you may lose points if the scan is not legible. To get full credit, show INTERMEDIATE steps leading to your answers, throughout. You can give answers that are probabilities as either fully simplified fractions or decimal answers to at least two nonzero digits. Problem 1 [ pts (4,4,6,4,4]: Black and White An urn contains 10 balls: 6 white balls numbered 1 through 6, and 4 black balls numbered 1 through 4. We are simultaneously and randomly drawing balls out of the Find the probability of event A: the two balls are white. (1a Sample space has S = ( 10 = 45. Event A has A = ( 6 = 6 5/ = 15. Thus Pr[A] = 15/45 = 1/3.. Find the probability of event B : the two balls are odd. (1b There are 3 + = 5 odd balls. B = ( 5 = 5 4/ = 10. Thus Pr[B] = 10/45 = /9. 3. Are events A and B independent? Prove your answer. No: A B = ( 3 = 3 thus Pr[A B] = 3/45 = 1/15 but Pr[A] Pr[B] = 1/3 /9 = /7. 4. Let X be the random variable whose value is the number of white balls in the drawing. 1

2 (a Write the probability distribution of X in form of a table: Pr[X=0] Pr[X=1] Pr[X=] Pr[X = 0] = ( 4 / ( 10 = 6/45 = /15 Pr[X = 1] = (6 4/ ( 10 = 4/45 = 8/15 Pr[X = ] = 1/3 by the earlier problem Pr[X=0] Pr[X=1] Pr[X=] /15 8/15 1/3 (b Find the expected value E[X]. 0 (/ (8/15 + (1/3 = 8/ /15 = 18/15 = 6/5 = 1.. Problem [4 pts (4,4,4,5,7] Random Stocks The company EquiCola s stock price fluctuates in the following way from one day to the next. With probability 0.5, the price remains the same the next day. With probability 0.3, the price increases by one dollar. With probability 0., the price decreases by one dollar. 1. What is the expected change in value for the stock from one day to the next? = 0.1 or ten cents.. What is the expected change in value for the stock over the course of a week (7 days? What principle allows you to make this conclusion? By linearity of expectation, we expect a gain of 0.7. The overall change is the sum of the daily changes. 3. What is the probability that the stock does not have a single decline over the course of the whole week? (To two decimal places = What is the probability that the stock declines no more than once over the course of the week? (To two decimal places = What is the probability that the price changes every day for the full week, and ends a dollar higher than it started? (To two significant digits. (0.3 4 (0. 3( 7 4 = 0.00

3 Problem 3 [18 pts (,4,4,4,4]: Texas Hold Em Note: For this problem, be careful about taking into account cards that you know aren t in the deck or in the opponents hands. You have just sat down to a game of Texas Hold Em, a poker variant played with a normal 5 card deck (-10, Jack, Queen, King, Ace, each in 4 suits: Clubs, Spades, Hearts, Diamonds. The game has the following steps. (1 Each player is dealt two cards face down. ( There is a round of betting. Players who don t want to bet can fold and bow out without revealing cards. (3 Three cards are revealed simultaneously in the center (the flop. (4 There is another round of betting. (5 Another card is revealed in the center (the turn, and there is another round of betting where players may fold. (6 A final card is revealed in the center, and there is a final round of betting. Players reveal their hands, and whoever can make the best 5-card poker hand, using some combination of their cards and the 5 shared cards, wins the pot of money. (You can assume in the problems that follow that we will tell you the relevant facts about values of poker hands. i. Calculate the number of possible two-card poker hands you could be dealt. 5 choose = 5 * 51 / = 136 ii. It turns out you are dealt two Jacks the black ones (Clubs and Spades. Calculate (a the number of possible two-card poker hands you could be dealt that are pairs of Jacks, Queens, Kings, or Aces, (b the probability of being dealt such a pair, to two significant figures. (a 4 values * 4 choose = 4 * 4 * 3 / = 4 (b 4/136 = iii. Two other players fold, leaving just one other player, and the flop is revealed: it s Ten of Hearts, Ten of Diamonds, Ten of Clubs. You now have a full house two of one card, three of another which is a pretty good hand. But given that the other player is holding neither your two cards nor any of these three, what is the likelihood the other player is holding the last ten, and therefore beating you with a four-of-a-kind? (To three significant digits. 1 * (46 choose 1 / (47 choose possible deals to other player = 46/1081 = iv. What is the probability now that the turn and the river will both be Jacks? (To three significant digits. 1 / (47 choose = 1/1081 = v. The turn comes, and it s the Jack of Hearts. That turned out well for you. But what is the probability now that your opponent is holding the final ten? (To three significant digits. 1* (45 choose 1 / (46 choose = 45 /1035 =

4 In the final showdown, you each show your cards. Your opponent wins with the Ace of Diamonds and the Ten of Spades. You resist the urge to blurt, What are the chances? because you know. Problem 4 [18 pts (5,4,4,5]: At the Airport 1. Suppose a bomb detector at the airport has a 95% chance of detecting a bomb if there is one in a piece of luggage, but it has a 1% chance of falsely detecting a bomb within an arbitrary innocent piece of luggage. Suppose only 1 in 100,000 pieces of luggage actually contains a bomb. Calculate the conditional probability of a piece of luggage containing a bomb, given that the detector is claiming there is such a bomb inside. P r(bomb detection P r(detection bombp r(bomb = / = P r(nobomb detection P r(detection nobombp r(nobomb = / = 0.01 P r(bomb detection = /( = What is the probability that three bomb detections are all false alarms? ( = How many detection events must occur until there is one real bomb among them in expectation? By linearity of expectation, each detection event contributes of a bomb. 1/ = Now suppose there is a liquid detector with a 95% chance of detecting liquid if luggage contains some, and a 1% chance of detecting liquid if there is none. 1 in 5 pieces of luggage actually contains a liquid. What is the probability that a piece of luggage contains a liquid, given that the detector claims there is liquid? P r(liquid detection P r(detection liquidp r(liquid = /5 = 0.19 P r(noliquid detection P r(detection noliquidp r(noliquid = /5 = P r(liquid detection = 0.19/( = Problem 5 [18 pts (6, 1]: Bags of Words 1. Make an intuitive prediction as to which of the words entropy and bookkeeper has the higher entropy (treating the letters as symbols, and explain your prediction. Then calculate the entropies of the two words and determine whether you were right. (For each word, treat its own symbols as the only symbols that exist. We d expect entropy to have more entropy because it has less repetition; a random letter would be a little less predictable than one from bookkeeper. Entropy has 7 letters, all different, so the expected entropy is exactly the information of one of these letters, log 7 =.8. Bookkeeper has 10 symbols: 1 b, o s, k s, 3 e s, 1 p, 1 r. The entropy is 0.1 log log log log log log 0.1 = =.43. 4

5 . A Markov babbler is a program trained to generate random sequences of words that match the transition probabilities of some target text it was trained on. These transition probabilities are conditional probabilities of each possible next word given the previous word, and they can be calculated by counting how often each word follows each other one. For example, if the training text were TO BE OR NOT TO BE THAT BE THE QUESTION, P( BE TO = 1 since BE is the only word that ever follows TO in the training text, but P( OR BE = 1/3 since three different words can follow BE. The babbler might then end up saying something like TO BE THAT BE OR NOT TO BE THAT BE THE QUESTION. (It would probably be more interesting with more training text. It s called a Markov babbler because it effectively samples a Markov chain and babbles the word corresponding to each new state as it enters it. Consider the babbler trained on the short text LOGIC IS THE PLAN THE PLAN IS MATH. Assume it wraps around to the beginning so that LOGIC is considered to follow MATH. (a Construct the transition matrix that corresponds to the Markov chain that describes this babbler s behavior. Please assume the order of the columns and rows is LOGIC, IS, THE, PLAN, MATH. LOGIC IS THE PLAN MATH LOGIC IS THE PLAN MATH (b Use the iterative method described in lecture and the textbook to find the frequency of each word in the babbler s output as it runs forever. If you use code, please include it in your submission. LOGIC = 0.15, IS = 0.5, THE = 0.5, PLAN = 0.5, MATH = 0.15 (c Guess the simple fractions your decimal numbers are approximating, and verify that this is the correct stationary distribution by substituting into appropriate equations derived from the transition matrix. LOGIC = 1/8, IS = 1/4, THE = 1/4, PLAN = 1/4, MATH = 1/8 LOGIC = MATH: 1/8 = 1/8, check IS = LOGIC + 1/ PLAN: 1/4 = 1/8 + 1/*1/4 = 1/4, check THE = 1/ IS + 1/ PLAN: 1/ * 1/4 + 1/ * 1/4 = 1/4, check PLAN = THE: 1/4 = 1/4, check MATH = 1/ IS: 1/8 = 1/4*1/, check 5

Probability & Expectation. Professor Kevin Gold

Probability & Expectation. Professor Kevin Gold Probability & Expectation Professor Kevin Gold Review of Probability so Far (1) Probabilities are numbers in the range [0,1] that describe how certain we should be of events If outcomes are equally likely

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

Live Casino game rules. 1. Live Baccarat. 2. Live Blackjack. 3. Casino Hold'em. 4. Generic Rulette. 5. Three card Poker

Live Casino game rules. 1. Live Baccarat. 2. Live Blackjack. 3. Casino Hold'em. 4. Generic Rulette. 5. Three card Poker Live Casino game rules 1. Live Baccarat 2. Live Blackjack 3. Casino Hold'em 4. Generic Rulette 5. Three card Poker 1. LIVE BACCARAT 1.1. GAME OBJECTIVE The objective in LIVE BACCARAT is to predict whose

More information

Exploitability and Game Theory Optimal Play in Poker

Exploitability and Game Theory Optimal Play in Poker Boletín de Matemáticas 0(0) 1 11 (2018) 1 Exploitability and Game Theory Optimal Play in Poker Jen (Jingyu) Li 1,a Abstract. When first learning to play poker, players are told to avoid betting outside

More information

Homework 8 (for lectures on 10/14,10/16)

Homework 8 (for lectures on 10/14,10/16) Fall 2014 MTH122 Survey of Calculus and its Applications II Homework 8 (for lectures on 10/14,10/16) Yin Su 2014.10.16 Topics in this homework: Topic 1 Discrete random variables 1. Definition of random

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

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

Alg 2/Trig Honors Qtr 3 Review

Alg 2/Trig Honors Qtr 3 Review Alg 2/Trig Honors Qtr 3 Review Chapter 5 Exponents and Logs 1) Graph: a. y 3x b. y log3 x c. y log2(x 2) d. y 2x 1 3 2) Solve each equation. Find a common base!! a) 52n 1 625 b) 42x 8x 1 c) 27x 9x 6 3)

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

Poker Rules Friday Night Poker Club

Poker Rules Friday Night Poker Club Poker Rules Friday Night Poker Club Last edited: 2 April 2004 General Rules... 2 Basic Terms... 2 Basic Game Mechanics... 2 Order of Hands... 3 The Three Basic Games... 4 Five Card Draw... 4 Seven Card

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

Discrete Finite Probability Probability 1

Discrete Finite Probability Probability 1 Discrete Finite Probability Probability 1 In these notes, I will consider only the finite discrete case. That is, in every situation the possible outcomes are all distinct cases, which can be modeled by

More information

Chapter 1: Sets and Probability

Chapter 1: Sets and Probability Chapter 1: Sets and Probability Section 1.3-1.5 Recap: Sample Spaces and Events An is an activity that has observable results. An is the result of an experiment. Example 1 Examples of experiments: Flipping

More information

Date. Probability. Chapter

Date. Probability. Chapter Date Probability Contests, lotteries, and games offer the chance to win just about anything. You can win a cup of coffee. Even better, you can win cars, houses, vacations, or millions of dollars. Games

More information

- MATHEMATICS AND COMPUTER EDUCATION-

- MATHEMATICS AND COMPUTER EDUCATION- THE MATHEMATICS OF POKER: BASIC EQUITY CALCULATIONS AND ESTIMATES Mark Farag Gildart Haase School of Computer Sciences and Engineering Fairleigh Dickinson University 1000 River Road, Mail Stop T-BE2-01

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

3 The multiplication rule/miscellaneous counting problems

3 The multiplication rule/miscellaneous counting problems Practice for Exam 1 1 Axioms of probability, disjoint and independent events 1. Suppose P (A) = 0.4, P (B) = 0.5. (a) If A and B are independent, what is P (A B)? What is P (A B)? (b) If A and B are disjoint,

More information

The student will explain and evaluate the financial impact and consequences of gambling.

The student will explain and evaluate the financial impact and consequences of gambling. What Are the Odds? Standard 12 The student will explain and evaluate the financial impact and consequences of gambling. Lesson Objectives Recognize gambling as a form of risk. Calculate the probabilities

More information

Foundations to Algebra In Class: Investigating Probability

Foundations to Algebra In Class: Investigating Probability Foundations to Algebra In Class: Investigating Probability Name Date How can I use probability to make predictions? Have you ever tried to predict which football team will win a big game? If so, you probably

More information

TABLE OF CONTENTS TEXAS HOLD EM... 1 OMAHA... 2 PINEAPPLE HOLD EM... 2 BETTING...2 SEVEN CARD STUD... 3

TABLE OF CONTENTS TEXAS HOLD EM... 1 OMAHA... 2 PINEAPPLE HOLD EM... 2 BETTING...2 SEVEN CARD STUD... 3 POKER GAMING GUIDE TABLE OF CONTENTS TEXAS HOLD EM... 1 OMAHA... 2 PINEAPPLE HOLD EM... 2 BETTING...2 SEVEN CARD STUD... 3 TEXAS HOLD EM 1. A flat disk called the Button shall be used to indicate an imaginary

More information

ELKS TOWER CASINO and LOUNGE TEXAS HOLD'EM POKER

ELKS TOWER CASINO and LOUNGE TEXAS HOLD'EM POKER ELKS TOWER CASINO and LOUNGE TEXAS HOLD'EM POKER DESCRIPTION HOLD'EM is played using a standard 52-card deck. The object is to make the best high hand among competing players using the traditional ranking

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

10, J, Q, K, A all of the same suit. Any five card sequence in the same suit. (Ex: 5, 6, 7, 8, 9.) All four cards of the same index. (Ex: A, A, A, A.

10, J, Q, K, A all of the same suit. Any five card sequence in the same suit. (Ex: 5, 6, 7, 8, 9.) All four cards of the same index. (Ex: A, A, A, A. POKER GAMING GUIDE table of contents Poker Rankings... 2 Seven-Card Stud... 3 Texas Hold Em... 5 Omaha Hi/Low... 7 Poker Rankings 1. Royal Flush 10, J, Q, K, A all of the same suit. 2. Straight Flush

More information

Math 227 Elementary Statistics. Bluman 5 th edition

Math 227 Elementary Statistics. Bluman 5 th edition Math 227 Elementary Statistics Bluman 5 th edition CHAPTER 4 Probability and Counting Rules 2 Objectives Determine sample spaces and find the probability of an event using classical probability or empirical

More information

4.12 Practice problems

4.12 Practice problems 4. Practice problems In this section we will try to apply the concepts from the previous few sections to solve some problems. Example 4.7. When flipped a coin comes up heads with probability p and tails

More information

March 5, What is the area (in square units) of the region in the first quadrant defined by 18 x + y 20?

March 5, What is the area (in square units) of the region in the first quadrant defined by 18 x + y 20? March 5, 007 1. We randomly select 4 prime numbers without replacement from the first 10 prime numbers. What is the probability that the sum of the four selected numbers is odd? (A) 0.1 (B) 0.30 (C) 0.36

More information

Math 166: Topics in Contemporary Mathematics II

Math 166: Topics in Contemporary Mathematics II Math 166: Topics in Contemporary Mathematics II Xin Ma Texas A&M University September 30, 2017 Xin Ma (TAMU) Math 166 September 30, 2017 1 / 11 Last Time Factorials For any natural number n, we define

More information

TABLE GAMES RULES OF THE GAME

TABLE GAMES RULES OF THE GAME TABLE GAMES RULES OF THE GAME Page 2: BOSTON 5 STUD POKER Page 11: DOUBLE CROSS POKER Page 20: DOUBLE ATTACK BLACKJACK Page 30: FOUR CARD POKER Page 38: TEXAS HOLD EM BONUS POKER Page 47: FLOP POKER Page

More information

CS1802 Week 9: Probability, Expectation, Entropy

CS1802 Week 9: Probability, Expectation, Entropy CS02 Discrete Structures Recitation Fall 207 October 30 - November 3, 207 CS02 Week 9: Probability, Expectation, Entropy Simple Probabilities i. What is the probability that if a die is rolled five times,

More information

Contemporary Mathematics Math 1030 Sample Exam I Chapters Time Limit: 90 Minutes No Scratch Paper Calculator Allowed: Scientific

Contemporary Mathematics Math 1030 Sample Exam I Chapters Time Limit: 90 Minutes No Scratch Paper Calculator Allowed: Scientific Contemporary Mathematics Math 1030 Sample Exam I Chapters 13-15 Time Limit: 90 Minutes No Scratch Paper Calculator Allowed: Scientific Name: The point value of each problem is in the left-hand margin.

More information

Programming Assignment 4

Programming Assignment 4 Programming Assignment 4 Due: 11:59pm, Saturday, January 30 Overview The goals of this section are to: 1. Use methods 2. Break down a problem into small tasks to implement Setup This assignment requires

More information

1. How many subsets are there for the set of cards in a standard playing card deck? How many subsets are there of size 8?

1. How many subsets are there for the set of cards in a standard playing card deck? How many subsets are there of size 8? Math 1711-A Summer 2016 Final Review 1 August 2016 Time Limit: 170 Minutes Name: 1. How many subsets are there for the set of cards in a standard playing card deck? How many subsets are there of size 8?

More information

The point value of each problem is in the left-hand margin. You must show your work to receive any credit, except on problems 1 & 2. Work neatly.

The point value of each problem is in the left-hand margin. You must show your work to receive any credit, except on problems 1 & 2. Work neatly. Introduction to Statistics Math 1040 Sample Exam II Chapters 5-7 4 Problem Pages 4 Formula/Table Pages Time Limit: 90 Minutes 1 No Scratch Paper Calculator Allowed: Scientific Name: The point value of

More information

Conditional Probability Worksheet

Conditional Probability Worksheet Conditional Probability Worksheet EXAMPLE 4. Drug Testing and Conditional Probability Suppose that a company claims it has a test that is 95% effective in determining whether an athlete is using a steroid.

More information

CS221 Final Project Report Learn to Play Texas hold em

CS221 Final Project Report Learn to Play Texas hold em CS221 Final Project Report Learn to Play Texas hold em Yixin Tang(yixint), Ruoyu Wang(rwang28), Chang Yue(changyue) 1 Introduction Texas hold em, one of the most popular poker games in casinos, is a variation

More information

Unit 9: Probability Assignments

Unit 9: Probability Assignments Unit 9: Probability Assignments #1: Basic Probability In each of exercises 1 & 2, find the probability that the spinner shown would land on (a) red, (b) yellow, (c) blue. 1. 2. Y B B Y B R Y Y B R 3. Suppose

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

HEADS UP HOLD EM. "Cover card" - means a yellow or green plastic card used during the cut process and then to conceal the bottom card of the deck.

HEADS UP HOLD EM. Cover card - means a yellow or green plastic card used during the cut process and then to conceal the bottom card of the deck. HEADS UP HOLD EM 1. Definitions The following words and terms, when used in the Rules of the Game of Heads Up Hold Em, shall have the following meanings unless the context clearly indicates otherwise:

More information

3 The multiplication rule/miscellaneous counting problems

3 The multiplication rule/miscellaneous counting problems Practice for Exam 1 1 Axioms of probability, disjoint and independent events 1 Suppose P (A 0, P (B 05 (a If A and B are independent, what is P (A B? What is P (A B? (b If A and B are disjoint, what is

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

To play the game player has to place a bet on the ANTE bet (initial bet). Optionally player can also place a BONUS bet.

To play the game player has to place a bet on the ANTE bet (initial bet). Optionally player can also place a BONUS bet. ABOUT THE GAME OBJECTIVE OF THE GAME Casino Hold'em, also known as Caribbean Hold em Poker, was created in the year 2000 by Stephen Au- Yeung and is now being played in casinos worldwide. Live Casino Hold'em

More information

The probability set-up

The probability set-up CHAPTER 2 The probability set-up 2.1. Introduction and basic theory We will have a sample space, denoted S (sometimes Ω) that consists of all possible outcomes. For example, if we roll two dice, the sample

More information

Discrete Mathematics and Probability Theory Spring 2016 Rao and Walrand Note 13

Discrete Mathematics and Probability Theory Spring 2016 Rao and Walrand Note 13 CS 70 Discrete Mathematics and Probability Theory Spring 2016 Rao and Walrand Note 13 Introduction to Discrete Probability In the last note we considered the probabilistic experiment where we flipped a

More information

PROBABILITY Case of cards

PROBABILITY Case of cards WORKSHEET NO--1 PROBABILITY Case of cards WORKSHEET NO--2 Case of two die Case of coins WORKSHEET NO--3 1) Fill in the blanks: A. The probability of an impossible event is B. The probability of a sure

More information

TEXAS HOLD EM BONUS POKER

TEXAS HOLD EM BONUS POKER TEXAS HOLD EM BONUS POKER 1. Definitions The following words and terms, when used in the Rules of the Game of Texas Hold Em Bonus Poker, shall have the following meanings unless the context clearly indicates

More information

Math 1111 Math Exam Study Guide

Math 1111 Math Exam Study Guide Math 1111 Math Exam Study Guide The math exam will cover the mathematical concepts and techniques we ve explored this semester. The exam will not involve any codebreaking, although some questions on the

More information

Electronic Wireless Texas Hold em. Owner s Manual and Game Instructions #64260

Electronic Wireless Texas Hold em. Owner s Manual and Game Instructions #64260 Electronic Wireless Texas Hold em Owner s Manual and Game Instructions #64260 LIMITED 90 DAY WARRANTY This Halex product is warranted to be free from defects in workmanship or materials at the time of

More information

TEST A CHAPTER 11, PROBABILITY

TEST A CHAPTER 11, PROBABILITY TEST A CHAPTER 11, PROBABILITY 1. Two fair dice are rolled. Find the probability that the sum turning up is 9, given that the first die turns up an even number. 2. Two fair dice are rolled. Find the probability

More information

Suppose you are supposed to select and carry out oneof a collection of N tasks, and there are T K different ways to carry out task K.

Suppose you are supposed to select and carry out oneof a collection of N tasks, and there are T K different ways to carry out task K. Addition Rule Counting 1 Suppose you are supposed to select and carry out oneof a collection of N tasks, and there are T K different ways to carry out task K. Then the number of different ways to select

More information

The probability set-up

The probability set-up CHAPTER The probability set-up.1. Introduction and basic theory We will have a sample space, denoted S sometimes Ω that consists of all possible outcomes. For example, if we roll two dice, the sample space

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

Write out how many ways a player can be dealt AK suited (hereinafter AKs).

Write out how many ways a player can be dealt AK suited (hereinafter AKs). Write out how many ways a player can be dealt AA. Write out how many ways a player can be dealt AK. Write out how many ways a player can be dealt 66. Write out how many ways a player can be dealt 87. Write

More information

Discrete Random Variables Day 1

Discrete Random Variables Day 1 Discrete Random Variables Day 1 What is a Random Variable? Every probability problem is equivalent to drawing something from a bag (perhaps more than once) Like Flipping a coin 3 times is equivalent to

More information

Table Games Rules. MargaritavilleBossierCity.com FIN CITY GAMBLING PROBLEM? CALL

Table Games Rules. MargaritavilleBossierCity.com FIN CITY GAMBLING PROBLEM? CALL Table Games Rules MargaritavilleBossierCity.com 1 855 FIN CITY facebook.com/margaritavillebossiercity twitter.com/mville_bc GAMBLING PROBLEM? CALL 800-522-4700. Blackjack Hands down, Blackjack is the most

More information

2 Event is equally likely to occur or not occur. When all outcomes are equally likely, the theoretical probability that an event A will occur is:

2 Event is equally likely to occur or not occur. When all outcomes are equally likely, the theoretical probability that an event A will occur is: 10.3 TEKS a.1, a.4 Define and Use Probability Before You determined the number of ways an event could occur. Now You will find the likelihood that an event will occur. Why? So you can find real-life geometric

More information

HW1 is due Thu Oct 12 in the first 5 min of class. Read through chapter 5.

HW1 is due Thu Oct 12 in the first 5 min of class. Read through chapter 5. Stat 100a, Introduction to Probability. Outline for the day: 1. Bayes's rule. 2. Random variables. 3. cdf, pmf, and density. 4. Expected value, continued. 5. All in with AA. 6. Pot odds. 7. Violette vs.

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

Pan (7:30am) Juan (8:30am) Juan (9:30am) Allison (10:30am) Allison (11:30am) Mike L. (12:30pm) Mike C. (1:30pm) Grant (2:30pm)

Pan (7:30am) Juan (8:30am) Juan (9:30am) Allison (10:30am) Allison (11:30am) Mike L. (12:30pm) Mike C. (1:30pm) Grant (2:30pm) STAT 225 FALL 2012 EXAM ONE NAME Your Section (circle one): Pan (7:30am) Juan (8:30am) Juan (9:30am) Allison (10:30am) Allison (11:30am) Mike L. (12:30pm) Mike C. (1:30pm) Grant (2:30pm) Grant (3:30pm)

More information

Math 1313 Section 6.2 Definition of Probability

Math 1313 Section 6.2 Definition of Probability Math 1313 Section 6.2 Definition of Probability Probability is a measure of the likelihood that an event occurs. For example, if there is a 20% chance of rain tomorrow, that means that the probability

More information

BLACKJACK Perhaps the most popular casino table game is Blackjack.

BLACKJACK Perhaps the most popular casino table game is Blackjack. BLACKJACK Perhaps the most popular casino table game is Blackjack. The object is to draw cards closer in value to 21 than the dealer s cards without exceeding 21. To play, you place a bet on the table

More information

Texas Hold em Inference Bot Proposal. By: Brian Mihok & Michael Terry Date Due: Monday, April 11, 2005

Texas Hold em Inference Bot Proposal. By: Brian Mihok & Michael Terry Date Due: Monday, April 11, 2005 Texas Hold em Inference Bot Proposal By: Brian Mihok & Michael Terry Date Due: Monday, April 11, 2005 1 Introduction One of the key goals in Artificial Intelligence is to create cognitive systems that

More information

BAYESIAN STATISTICAL CONCEPTS

BAYESIAN STATISTICAL CONCEPTS BAYESIAN STATISTICAL CONCEPTS A gentle introduction Alex Etz @alxetz ß Twitter (no e in alex) alexanderetz.com ß Blog November 5 th 2015 Why do we do statistics? Deal with uncertainty Will it rain today?

More information

1. The chance of getting a flush in a 5-card poker hand is about 2 in 1000.

1. The chance of getting a flush in a 5-card poker hand is about 2 in 1000. CS 70 Discrete Mathematics for CS Spring 2008 David Wagner Note 15 Introduction to Discrete Probability Probability theory has its origins in gambling analyzing card games, dice, roulette wheels. Today

More information

Math 1111 Math Exam Study Guide

Math 1111 Math Exam Study Guide Math 1111 Math Exam Study Guide The math exam will cover the mathematical concepts and techniques we ve explored this semester. The exam will not involve any codebreaking, although some questions on the

More information

CS1800 Discrete Structures Fall 2016 Profs. Aslam, Gold, Ossowski, Pavlu, & Sprague 7 November, CS1800 Discrete Structures Midterm Version C

CS1800 Discrete Structures Fall 2016 Profs. Aslam, Gold, Ossowski, Pavlu, & Sprague 7 November, CS1800 Discrete Structures Midterm Version C CS1800 Discrete Structures Fall 2016 Profs. Aslam, Gold, Ossowski, Pavlu, & Sprague 7 November, 2016 CS1800 Discrete Structures Midterm Version C Instructions: 1. The exam is closed book and closed notes.

More information

After receiving his initial two cards, the player has four standard options: he can "Hit," "Stand," "Double Down," or "Split a pair.

After receiving his initial two cards, the player has four standard options: he can Hit, Stand, Double Down, or Split a pair. Black Jack Game Starting Every player has to play independently against the dealer. The round starts by receiving two cards from the dealer. You have to evaluate your hand and place a bet in the betting

More information

ULTIMATE TEXAS HOLD EM

ULTIMATE TEXAS HOLD EM ULTIMATE TEXAS HOLD EM 1. Definitions The following words and terms, when used in the Rules of the Game of Ultimate Texas Hold Em, shall have the following meanings unless the context clearly indicates

More information

6) A) both; happy B) neither; not happy C) one; happy D) one; not happy

6) A) both; happy B) neither; not happy C) one; happy D) one; not happy MATH 00 -- PRACTICE TEST 2 Millersville University, Spring 202 Ron Umble, Instr. MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question. Find all natural

More information

HOW TO PLAY BLACKJACK

HOW TO PLAY BLACKJACK Gaming Guide HOW TO PLAY BLACKJACK Blackjack, one of the most popular casino table games, is easy to learn and exciting to play! The object of the game of Blackjack is to achieve a hand higher than the

More information

No Flop No Table Limit. Number of

No Flop No Table Limit. Number of Poker Games Collection Rate Schedules and Fees Texas Hold em: GEGA-003304 Limit Games Schedule Number of No Flop No Table Limit Player Fee Option Players Drop Jackpot Fee 1 $3 - $6 4 or less $3 $0 $0 2

More information

UNIT 4 APPLICATIONS OF PROBABILITY Lesson 1: Events. Instruction. Guided Practice Example 1

UNIT 4 APPLICATIONS OF PROBABILITY Lesson 1: Events. Instruction. Guided Practice Example 1 Guided Practice Example 1 Bobbi tosses a coin 3 times. What is the probability that she gets exactly 2 heads? Write your answer as a fraction, as a decimal, and as a percent. Sample space = {HHH, HHT,

More information

Chapter 8: Probability: The Mathematics of Chance

Chapter 8: Probability: The Mathematics of Chance Chapter 8: Probability: The Mathematics of Chance Free-Response 1. A spinner with regions numbered 1 to 4 is spun and a coin is tossed. Both the number spun and whether the coin lands heads or tails is

More information

EE 126 Fall 2006 Midterm #1 Thursday October 6, 7 8:30pm DO NOT TURN THIS PAGE OVER UNTIL YOU ARE TOLD TO DO SO

EE 126 Fall 2006 Midterm #1 Thursday October 6, 7 8:30pm DO NOT TURN THIS PAGE OVER UNTIL YOU ARE TOLD TO DO SO EE 16 Fall 006 Midterm #1 Thursday October 6, 7 8:30pm DO NOT TURN THIS PAGE OVER UNTIL YOU ARE TOLD TO DO SO You have 90 minutes to complete the quiz. Write your solutions in the exam booklet. We will

More information

CS188 Spring 2011 Written 2: Minimax, Expectimax, MDPs

CS188 Spring 2011 Written 2: Minimax, Expectimax, MDPs Last name: First name: SID: Class account login: Collaborators: CS188 Spring 2011 Written 2: Minimax, Expectimax, MDPs Due: Monday 2/28 at 5:29pm either in lecture or in 283 Soda Drop Box (no slip days).

More information

I will assign you to teams on Tuesday.

I will assign you to teams on Tuesday. Stat 100a: Introduction to Probability. Outline for the day: 1. Pot odds examples, 2006 WSOP, Elezra and Violette. 2. P(flop 4 of a kind). 3. Variance and SD. 4. Markov and Chebyshev inequalities. 5. Luck

More information

Texas Hold em Poker Rules

Texas Hold em Poker Rules Texas Hold em Poker Rules This is a short guide for beginners on playing the popular poker variant No Limit Texas Hold em. We will look at the following: 1. The betting options 2. The positions 3. The

More information

Item Description - MC Phi - Please note: any activity that is not completed during class time may be set for homework or undertaken at a later date.

Item Description - MC Phi - Please note: any activity that is not completed during class time may be set for homework or undertaken at a later date. Item Description - MC Phi - For the Teachers Please note: any activity that is not completed during class time may be set for homework or undertaken at a later date. MC Phi Rotation Lesson Activity Description:

More information

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

CS1800: Intro to Probability. Professor Kevin Gold

CS1800: Intro to Probability. Professor Kevin Gold CS1800: Intro to Probability Professor Kevin Gold Probability Deals Rationally With an Uncertain World Using probabilities is the only rational way to deal with uncertainty De Finetti: If you disagree,

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

I will assign you to teams on Tuesday.

I will assign you to teams on Tuesday. Stat 100a: Introduction to Probability. Outline for the day: 1. Hand in HW1. See hw2. 2. All in with 55. 3. Expected value and pot odds. 4. Pot odds example, Elezra and Violette. 5. P(flop 4 of a kind).

More information

HOW to PLAY TABLE GAMES

HOW to PLAY TABLE GAMES TABLE GAMES INDEX HOW TO PLAY TABLE GAMES 3-CARD POKER with a 6-card BONUS.... 3 4-CARD POKER.... 5 BLACKJACK.... 6 BUSTER BLACKJACK.... 8 Casino WAR.... 9 DOUBLE DECK BLACKJACK... 10 EZ BACCARAT.... 12

More information

Grade 6 Math Circles Fall Oct 14/15 Probability

Grade 6 Math Circles Fall Oct 14/15 Probability 1 Faculty of Mathematics Waterloo, Ontario Centre for Education in Mathematics and Computing Grade 6 Math Circles Fall 2014 - Oct 14/15 Probability Probability is the likelihood of an event occurring.

More information

POKER (AN INTRODUCTION TO COUNTING)

POKER (AN INTRODUCTION TO COUNTING) POKER (AN INTRODUCTION TO COUNTING) LAMC INTERMEDIATE GROUP - 10/27/13 If you want to be a succesful poker player the first thing you need to do is learn combinatorics! Today we are going to count poker

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

Math 1070 Sample Exam 1

Math 1070 Sample Exam 1 University of Connecticut Department of Mathematics Math 1070 Sample Exam 1 Exam 1 will cover sections 4.1-4.7 and 5.1-5.4. This sample exam is intended to be used as one of several resources to help you

More information

Counting Methods and Probability

Counting Methods and Probability CHAPTER Counting Methods and Probability Many good basketball players can make 90% of their free throws. However, the likelihood of a player making several free throws in a row will be less than 90%. You

More information

Acing Math (One Deck At A Time!): A Collection of Math Games. Table of Contents

Acing Math (One Deck At A Time!): A Collection of Math Games. Table of Contents Table of Contents Introduction to Acing Math page 5 Card Sort (Grades K - 3) page 8 Greater or Less Than (Grades K - 3) page 9 Number Battle (Grades K - 3) page 10 Place Value Number Battle (Grades 1-6)

More information

FLOP POKER. Rank-- or ranking means the relative position of a card or hand as set forth in Section 5.

FLOP POKER. Rank-- or ranking means the relative position of a card or hand as set forth in Section 5. FLOP POKER 1. Definitions The following words and terms, when used in the Rules of the Game of Flop Poker, shall have the following meanings unless the context clearly indicates otherwise: Ante-- or ante

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

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 Spring 2007 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 7.1 - Experiments, Sample Spaces,

More information

Final Exam, Math 6105

Final Exam, Math 6105 Final Exam, Math 6105 SWIM, June 29, 2006 Your name Throughout this test you must show your work. 1. Base 5 arithmetic (a) Construct the addition and multiplication table for the base five digits. (b)

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 Spring 2007 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 7.1 - Experiments, Sample Spaces,

More information

Making Predictions with Theoretical Probability. ESSENTIAL QUESTION How do you make predictions using theoretical probability?

Making Predictions with Theoretical Probability. ESSENTIAL QUESTION How do you make predictions using theoretical probability? L E S S O N 13.3 Making Predictions with Theoretical Probability 7.SP.3.6 predict the approximate relative frequency given the probability. Also 7.SP.3.7a ESSENTIAL QUESTION How do you make predictions

More information

Failures of Intuition: Building a Solid Poker Foundation through Combinatorics

Failures of Intuition: Building a Solid Poker Foundation through Combinatorics Failures of Intuition: Building a Solid Poker Foundation through Combinatorics by Brian Space Two Plus Two Magazine, Vol. 14, No. 8 To evaluate poker situations, the mathematics that underpin the dynamics

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

Optimal Rhode Island Hold em Poker

Optimal Rhode Island Hold em Poker Optimal Rhode Island Hold em Poker Andrew Gilpin and Tuomas Sandholm Computer Science Department Carnegie Mellon University Pittsburgh, PA 15213 {gilpin,sandholm}@cs.cmu.edu Abstract Rhode Island Hold

More information

6.041/6.431 Spring 2009 Quiz 1 Wednesday, March 11, 7:30-9:30 PM.

6.041/6.431 Spring 2009 Quiz 1 Wednesday, March 11, 7:30-9:30 PM. 6.04/6.43 Spring 09 Quiz Wednesday, March, 7:30-9:30 PM. Name: Recitation Instructor: TA: Question Part Score Out of 0 3 all 40 2 a 5 b 5 c 6 d 6 3 a 5 b 6 c 6 d 6 e 6 f 6 g 0 6.04 Total 00 6.43 Total

More information

Fictitious Play applied on a simplified poker game

Fictitious Play applied on a simplified poker game Fictitious Play applied on a simplified poker game Ioannis Papadopoulos June 26, 2015 Abstract This paper investigates the application of fictitious play on a simplified 2-player poker game with the goal

More information

Ante or ante wager means the initial wager required to be made prior to any cards being dealt in order to participate in the round of play.

Ante or ante wager means the initial wager required to be made prior to any cards being dealt in order to participate in the round of play. 13:69E-1.13Y Premium Hold Em physical characteristics (a) Premium Hold Em shall be played at a table having betting positions for no more than six players on one side of the table and a place for the dealer

More information