Methods and Tools

Simulating Chance

Checking probability answers with simple simulations and code.

How Many Trials Does a Simulation Need

Why simulation error shrinks roughly with the square root of the number of runs, with checked examples showing what 100, 10,000 and 1,000,000 trials typically give.

4 min read

Pseudo-Random Number Generators Explained

How computers produce deterministic but random-looking numbers: what a seed is, what a period means, and a tiny hand-checked generator that shows the idea.

4 min read

Simulating a Random Walk

Simulate a coin-toss random walk to see why running totals wander far from zero, and how typical distance grows with the square root of the number of steps.

4 min read

Simulating Dice Rolls in Python

Build a short Python dice roller, count the results, and compare simulated frequencies with the exact values for one die and for the total of two dice.

4 min read

Simulating Loot Drops and Pity Timers

Model a drop chance with and without a pity timer that guarantees a drop after a fixed number of tries, using checked illustrative numbers and short code.

4 min read

Spreadsheet Simulations Without Coding

Model coin tosses, dice and simple chance questions with spreadsheet random functions such as RAND and RANDBETWEEN, and learn how to read and freeze the results.

4 min read

Visualising Results with Histograms

How to turn simulated outcomes into a histogram, choose sensible bins, and read the shape: symmetric, skewed or bell-shaped, with a short Python plotting example.

4 min read

Related topics

More in methods and tools