04/16/13 Combinations and State Diagrams Discrete Structures (CS 173) Derek Hoiem, University of Illinois 1.

Slides:



Advertisements
Similar presentations
Beginning Probability
Advertisements

Chapter 8 Counting Principles: Further Probability Topics Section 8.5 Probability Distributions; Expected Value.
04/18/13 State Diagrams Discrete Structures (CS 173) Derek Hoiem, University of Illinois 1.
Chapter 2 Probability. 2.1 Sample Spaces and Events.
Randomness and Probability
Chapter 7 Discrete Distributions. Random Variable - A numerical variable whose value depends on the outcome of a chance experiment.
Excursions in Modern Mathematics Sixth Edition
5.1 Sampling Distributions for Counts and Proportions (continued)
PROBABILITY  A fair six-sided die is rolled. What is the probability that the result is even?
Counting and Probability The outcome of a random process is sure to occur, but impossible to predict. Examples: fair coin tossing, rolling a pair of dice,
Basics of Probability. Trial or Experiment Experiment - a process that results in a particular outcome or “event”. Simple event (or sample point), E i.
Counting Elements in a List How many integers in the list from 1 to 10? How many integers in the list from m to n? (assuming m
Check it out! : Simple Random Sampling. Players of a dice game roll five dice and earn points according to the combinations of numbers they roll.
Copyright (c) 2004 Brooks/Cole, a division of Thomson Learning, Inc. Chapter 2 Probability.
Chapter 1 Basics of Probability.
Combinatorics 3/15 and 3/ Counting A restaurant offers the following menu: Main CourseVegetablesBeverage BeefPotatoesMilk HamGreen BeansCoffee.
NA387 Lecture 5: Combinatorics, Conditional Probability
Sequences and Series. Quick Review.
1 9/23/2015 MATH 224 – Discrete Mathematics Basic finite probability is given by the formula, where |E| is the number of events and |S| is the total number.
7 Further Topics in Algebra © 2008 Pearson Addison-Wesley. All rights reserved Sections 7.4–7.7.
Topics to be covered: Produce all combinations and permutations of sets. Calculate the number of combinations and permutations of sets of m items taken.
Copyright © Cengage Learning. All rights reserved. CHAPTER 9 COUNTING AND PROBABILITY.
Section 2 Probability Rules – Compound Events Compound Event – an event that is expressed in terms of, or as a combination of, other events Events A.
Section 7.1. Section Summary Finite Probability Probabilities of Complements and Unions of Events Probabilistic Reasoning.
Chapter 8: Probability: The Mathematics of Chance Lesson Plan Probability Models and Rules Discrete Probability Models Equally Likely Outcomes Continuous.
Chapter 7: Probability Lesson 2: Addition Counting Principles Mrs. Parziale.
1/31/2007 Pre-Calculus Chapter 9 Review a n = a 1 + (n – 1)d a n = a 1 r (n – 1)
Chapter 7 With Question/Answer Animations. Section 7.1.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide 9- 1.
The Basics of Probability Theory MATH 102 Contemporary Math S. Rook.
CSE 321 Discrete Structures Winter 2008 Lecture 19 Probability Theory TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.:
1 Discrete Structures – CNS2300 Text Discrete Mathematics and Its Applications (5 th Edition) Kenneth H. Rosen Chapter 5 Counting.
Chapter 9 Review. 1. Give the probability of each outcome.
Homework Homework due now. Reading: relations
Chapter 16 Probability. Activity Rock-Paper-Scissors Shoot Tournament 1)Pair up and choose one person to be person A and the other person B. 2)Play 9.
Introductory Statistics Lesson 4.2 A Objective: SSBAT determine if a probability experiment is a binomial experiment. SSBAT how to find binomial probabilities.
Lecture PowerPoint Slides Basic Practice of Statistics 7 th Edition.
5.1 Randomness  The Language of Probability  Thinking about Randomness  The Uses of Probability 1.
Discrete Distributions. Random Variable - A numerical variable whose value depends on the outcome of a chance experiment.
ICS 253: Discrete Structures I Discrete Probability King Fahd University of Petroleum & Minerals Information & Computer Science Department.
Chapter 8: Probability: The Mathematics of Chance Lesson Plan Probability Models and Rules Discrete Probability Models Equally Likely Outcomes Continuous.
Bernoulli Trials, Geometric and Binomial Probability models.
Probability Introduction Precalc 4/20/12. Vocabulary  Probability – the chance that a particular outcome or event will occur.  It can be written as.
Probability theory is the branch of mathematics concerned with analysis of random phenomena. (Encyclopedia Britannica) An experiment: is any action, process.
UNIT 3. OUTLINE: Sets and Subsets Set Operations the Laws of Set Theory Counting and Venn Diagrams. A First Word on Probability. The Axioms of Probability.
Spring 2016 COMP 2300 Discrete Structures for Computation Donghyun (David) Kim Department of Mathematics and Physics North Carolina Central University.
CS Lecture 8 Developing Your Counting Muscles.
Section 1.3 Each arrangement (ordering) of n distinguishable objects is called a permutation, and the number of permutations of n distinguishable objects.
1 Discrete Structures - CSIS2070 Text Discrete Mathematics and Its Applications Kenneth H. Rosen Chapter 4 Counting.
16-3 The Binomial Probability Theorem. Let’s roll a die 3 times Look at the probability of getting a 6 or NOT getting a 6. Let’s make a tree diagram.
Chapter 8: Probability: The Mathematics of Chance Lesson Plan Probability Models and Rules Discrete Probability Models Equally Likely Outcomes Continuous.
Experiments, Outcomes and Events. Experiment Describes a process that generates a set of data – Tossing of a Coin – Launching of a Missile and observing.
Counting Techniques (Dr. Monticino). Overview  Why counting?  Counting techniques  Multiplication principle  Permutation  Combination  Examples.
Spring 2016 COMP 2300 Discrete Structures for Computation Donghyun (David) Kim Department of Mathematics and Physics North Carolina Central University.
04/11/13 Collections of Sets Discrete Structures (CS 173) Derek Hoiem, University of Illinois 1.
Counting and Probability. Imagine tossing two coins and observing whether 0, 1, or 2 heads are obtained. Below are the results after 50 tosses Tossing.
Conditional Probability 423/what-is-your-favorite-data-analysis-cartoon 1.
Chapter 12 Lesson 3 Probability. Vocabulary O Probability- A ratio that measures the chances of an event occurring. O Success- The desired outcome of.
Discrete Distributions
Chapter 16.
Probability: Test Tomorrow
E370 Statistical analysis for bus & econ
Discrete Distributions
Discrete Mathematics Lecture 6: Set and Function
Discrete Distributions
Discrete Distributions.
Probability: Test Tomorrow
Discrete Distributions
CSE 321 Discrete Structures
Presentation transcript:

04/16/13 Combinations and State Diagrams Discrete Structures (CS 173) Derek Hoiem, University of Illinois 1

HW 9 2 Do not use the quadratic formula! Review set constructor notation from earlier chapter. Relations between sets that we’ve covered include equals, subset, proper subset, disjoint.

Today’s class Counting and combinations State diagrams (mainly applied to counting) 3

Combinations/counting 4

5

6

7

Mixed combination problems Examples Suppose a slot machine has 6 dials which can each be set to {bell, cherry, 777, blank1, blank2} – How many possible (ordered) combinations are there? – How many ways are there to get exactly three cherries? – How many ways are there to get at least three cherries? 8

Basic operations Selection that reduces choices Selection that does not reduce choices Permutation 9

10

Dice games When rolling five dice at once, which is more likely, three-of-a-kind or a large-straight? 11

Binomial theorem 12

Binomial theorem 13

State diagrams 14 state action transition

State diagrams and counting Suppose you have 3 red pills and 2 blue pills in a pouch. You draw three of them from at random. What is the probability that you have exactly one blue pill? 15

Dice games 16

Challenge problem If Joe is going for “Yahtzee” (five of a kind with five dice), what is the chance that he will get it within two re-rolls? 17

Suppose we roll a two-sided die until the sum is a non-zero multiple of 3. What is the chance of getting there in three or fewer rolls? 18

19

Things to remember 20

Next class More finite state machines 21