Digital Dice: Computational Solutions to Practical Probability Problems

"Some probability puzzles are so challenging that even the best mathematicians struggle with them. But even the most difficult of these issues can frequently be resolved using a computer and a Monte Carlo simulation, which uses a random number generator to imitate a real-world event like a million rolls of a pair of dice. The main goal of Digital Dice is to provide numerical solutions to challenging probability problems without the need to solve challenging mathematical equations.Popular-math writer Paul Nahin challenges readers to solve twenty-one difficult but fun problems, from determining the odds of coin-flipping games to figuring out the behavior of elevators. Problems build from relatively easy (deciding whether a dishwasher who breaks most of the dishes at a restaurant during a given week is clumsy or just the victim of randomness) to the very difficult (tackling branching processes of the kind that had to be solved by Manhattan Project mathematician Stanislaw Ulam). In his characteristic style, Nahin brings the problems to life with interesting and odd historical anecdotes. Readers learn, for example, not just how to determine the optimal stopping point in any selection process but that astronomer Johannes Kepler selected his second wife by interviewing eleven women.The book shows readers how to write elementary computer codes using any common programming language, and provides solutions and line-by-line walk-throughs of a MATLAB code for each problem.Digital Dice will appeal to anyone who enjoys popular math or computer science. In a new preface, Nahin wittily addresses some of the responses he received to the first edition.
Digital Dice: Computational Solutions to Practical Probability Problems

“Some probability puzzles are so challenging that even the best mathematicians struggle with them. But even the most difficult of these issues can frequently be resolved using a computer and a Monte Carlo simulation, which uses a random number generator to imitate a real-world event like a million rolls of a pair of dice. The main goal of Digital Dice is to provide numerical solutions to challenging probability problems without the need to solve challenging mathematical equations.

Paul Nahin, a popular math author, challenges readers to find solutions to twenty-one challenging yet entertaining puzzles, ranging from figuring out the chances of coin-flipping games to understanding elevator behavior. Problems range in difficulty from the somewhat simple (determining if a dishwasher who breaks the majority of the dishes at a restaurant during a certain week is clumsy or just unlucky) to the extremely challenging (tackling branching processes of the kind that had to be solved by Manhattan Project mathematician Stanislaw Ulam). Nahin uses intriguing and peculiar historical narratives to illustrate the issues in his signature manner. For instance, readers discover that scientist Johannes Kepler chose his second bride by interviewing eleven women and learning how to choose the best ending point in any selection process.

The book gives solutions and line-by-line walkthroughs of MATLAB code for each issue and demonstrates how to construct basic computer codes in any popular programming language.

Anyone who appreciates computer technology or popular math will enjoy the game, Digital Dice. Nahin cleverly responds to some of the criticisms of the first edition in a revised introduction.”

Thanks for reading!

More Resources Like This

Scroll to Top