The game of craps is played with two dice. The player rolls both dice and wins immediately if the outcome (the sum of the faces) is 7 or 11. If the outcome is 2, 3, or 12, the player loses immediately. If he rolls any other outcome, he continues to throw the dice until he either wins by repeating the first outcome or loses by rolling a 7.

a) Explain how to simulate the roll of a single fair die. (Hint: Just use digits 1 to 6 and ignore the others.) Then explain how to simulate a roll of two fair dice.

b) Draw a tree diagram for one play of craps. In principle, a player could continue forever, but stop your diagram after four rolls of the dice. Use Table A, beginning at line 114, to simulate plays and estimate the probability that the player wins.

Question 2:

Your company operates a van service from the airport to downtown hotels. Each van carries 7 passengers. Many passengers who reserve seats don’t show up – in fact., the probability is 0.2 that a randomly chosen passenger will fail to appear. Passengers are independent. If you allow 9 reservations for each van, what is the probability that more than 7 passengers will appear? Do a simulation to estimate this probability.

Question 3:

A famous example in probability theory shows that the probability that at least two people in a room have the same birthday is already greater than 1⁄2 when 23 people are in the room. The probability model is:

- The birth date of a randomly chosen person is equally likely to be any of the 365 dates of the year.
- The birth dates of different people in the room are independent.

To simulate birthdays, let each three-digit group in Table A stand for one person’s birthday date. That is 001 is January 1 and 365 is December 31. Ignore leap years and skip groups that don’t represent birth dates (Hint only numbers from 001-365 are to be considered). Use line 139 of Table A to simulate birthdays of randomly chosen people until you hit the same date a second time. How many people did you look at to find two with the same birthday?With a computer, you could easily repeat this simulation many times. You could find the probability that at least 2 out of 23 people have the same birthday, or you could find the expected number of people you must question to find two with the same birthday. These problems are a bit tricky to do by math, so they show the power of simulation.

### Order Management

### Premium **Service**

- 100% Custom papers
- Any delivery date
- 100% Confidentiality
- 24/7 Customer support
- The finest writers & editors
- No hidden charges
- No resale promise

### Format and **Features**

- Approx. 275 words / page
- All paper formats (APA, MLA, Harvard, Chicago/Turabian)
- Font: 12 point Arial/Times New Roman
- Double and single spacing
- FREE bibliography page
- FREE title page

### 0% **Plagiarism**

We take all due measures in order to avoid plagiarisms in papers. We have strict fines policy towards those writers who use plagiarisms and members of QAD make sure that papers are original.