simulate a die throw. Similarly, if we want to simulate a card draw from a deck of 52
cards, we can use the formula
=INT(RAND()*52)+1
This formula will return an integer between 1 and 52 which can be used to map to a
particular card in the deck.
Data Tables
During simulation, it is often necessary to repeat calculations by changing one or more
variables of the process being modeled. While Excel automatically recalculates the result
of a formula as soon as we modify a value in a cell associated with the formula, this is
of limited use when you would want to look at all of the output values with respect to
changes in one or more v
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.