Math 362 - Computer Lab #2 - Spring 2003

Introduction to Probability Theory

Computer Lab 2: Finite Sample Spaces and Random Variables


One of the conclusions drawn from Lab #1 was that each outcome in the sample space of an experiment could be assigned a number between 0 and 1, which describes how likely this particular outcome is to occur. This number is the probability of each outcome. In this lab, we further explore this concept on the examples of the rolling of two fair dice and flipping 5 biased coins.

  1. Experiment #1

  2. Consider the experiment of rolling two fair dice. We denote each outcome by a pair of numbers corresponding to the numbers turned up by each die. For instance (1,4) means that the first die turned up 1 and the second 4.

  3. Consider the experiment of rolling two fair dice and let X be the random variable that is the sum of the two numbers.
  4. Consider a binomial random variable with n = 5 and p = 0.75.

  5. Word Problems

  6. From A First Course in Probability by Sheldon Ross, Prentice Hall, 2002.
    1. A communication channel transmits the digits 0 and 1. However, due to static, the digit transmitted is incorrectly received with probability 0.2. Suppose that we want to transmit an important message consisting of one binary digit. To reduce the chance of error, we transmit 00000 instead of 0 and 11111 instead of 1. If the receiver of the message uses “majority” decoding, what is the probability that the message will be wrong when decoded? What independence assumption are you making?








    2. A student is getting ready to take an important oral examination and is concerned about the possibility of having an “on” day or an “off” day. He figures that if he has an on day, then each of his examiners will pass him independently of each other, with probability 0.8, whereas, if he has an off day, this probability will be reduced to 0.4. Suppose that the student will pass the examination if a majority of the examiners pass him. If the student feels that he is twice as likely to have an off day as he is to have an on day, should he request an examination with 3 examiners or with 5 examiners?










Back to Math 362