Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 13. Sampling and Simulation > 13.3 Simulate a Coin-Tossing Game

13.3 Simulate a Coin-Tossing Game

In a game of chance, you can sometimes use probability theory to compute the expected gain (or loss) for playing the game. Sometimes the strategy you use and the choices you make while playing affect the game's outcome; other times the outcome is completely determined by the rules of the game. Even if you cannot calculate the probabilities exactly, you can estimate the expected gain by simulating the game many times and averaging the gains and losses of the simulated games.

This section analyzes a coin game with the following rules:


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint