Introduction to Probability · Problem 11

Discrete Probability Distributions — Grinstead & Snell

Mathematics — Probability · simulation-discrete-probabilities

Problem

Modify the program HTSimulation so that it keeps track of the maximum of Peter's winnings in each game of 40 tosses. Have your program print out the proportion of times that your total winnings take on values 0,2,4,…,400, 2, 4, \ldots, 40. Calculate the corresponding exact probabilities for games of two tosses and four tosses.

Browse the problem library