3 ms·
Knowing math helps you write better software
- pgayed 4y agoExample problems start ~halfway down. > How do we model the probability distribution of rolling a six sided die if all we have is a fair coin? In other words, a process where, by flipping a coin enough times, we uniformly generate a random integer between 1 and 6. Donald Knuth studied this problem and came up with the following solution: […]