====== Differences ====== This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
gibson:teaching:fall-2013:math445:lab7 [2013/10/17 05:04] gibson created |
gibson:teaching:fall-2013:math445:lab7 [2013/10/28 18:55] (current) gibson |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Math 445 Lab 7: Computing probabilities with Monte Carlo simulation ====== | ====== Math 445 Lab 7: Computing probabilities with Monte Carlo simulation ====== | ||
+ | |||
+ | Solve the following problems using Monte Carlo simulation. If you can think of a way to compute | ||
+ | it with permutations or with a direct analysis, do that, too! | ||
**Problem 1:** In the city of Bangalore the probabilty of rain on any given day is 29%. | **Problem 1:** In the city of Bangalore the probabilty of rain on any given day is 29%. | ||
Line 14: | Line 17: | ||
* 1/2 | * 1/2 | ||
- | **Problem 3:** A fair coin is tossed 5 times. What is the probability of getting at least three heads on consecutive tosses? | + | **Problem 3:** A fair coin is tossed 5 times. What is the probability of getting heads on three or more consecutive tosses? |
* 2/16 | * 2/16 |