Real dice can only hint at the law of large numbers, because even a whole class manages just a few hundred throws in a lesson. Simulations close that gap: a short program throws ten thousand times, plots the relative frequency and shows how it settles. In this workshop on probability simulations in Python you have a coding agent write such programs, read the code line by line and change parameters yourself. After half a day you have simulations of dice, the Monty Hall problem, the birthday paradox and the Galton board that you can demonstrate in class or let students extend.
Who the probability simulation workshop is for
Secondary maths teachers who want to make probability more tangible and have little or no programming experience so far.
What you'll walk away with
- Ask a coding agent to implement a random experiment as a short, commented Python program
- Compare simulated relative frequencies with theoretical probabilities and explain the differences
- Prepare reproducible demonstrations by fixing the random seed
- Simplify programs so that students can read them and change marked sections
- Spot errors in simulations, such as wrong range limits or draws that are not independent
Typical scenarios
- Before introducing the Monty Hall problem, a teacher simulates both strategies ten thousand times so that the class can test its guesses against data.
- For a lesson on the birthday paradox, a program plots the probability of a shared birthday as a curve over growing group sizes.
- An upper secondary class receives a prepared Galton board program and investigates how the distribution approaches the normal distribution as rows are added.
Does this fit your team?
Pick a few dates that suit you. The request is non-binding, and the agenda is tailored in a short call beforehand.
What the probability simulation workshop covers
- Why simulate?The limits of real random experiments in class, and what simulations can and cannot show.
- A first simulation with the agentA dice program takes shape in dialogue; you learn to read the code and change parameters yourself.
- Classics of probabilityMonty Hall, the birthday paradox and the Galton board as short programs with charts.
- Check, don't trustComparing simulation with theory, setting seeds and finding typical programming errors in random experiments.
- Preparing it for studentsGap-fill programs, guiding questions and variants for different levels of prior knowledge in the class.
Before the probability simulation workshop: prerequisites
- A laptop with internet access; we set up Python and Jupyter together or use a browser-based environment
- Basic knowledge of probability; no programming skills needed
Materials you keep
- A collection of commented simulations of classic random experiments
- Gap-fill programs and guiding questions for use with students
- Prompt templates that help the agent implement new experiments clearly