Coding a Simulation

Let’s explore some more ideas about probability….

Screen Shot 2016-06-07 at 10.36.28 AM.png

Can we test this law using some coding?

ummmm….. probably?

Head on over to Scratch or Snap (if you want use your iPad)

You are going to try and design a coin flipper…. here are some helpful images.Screen Shot 2016-06-07 at 10.36.49 AM

You will need to design some costumes to allow your coin to change from heads to tails.

Screen Shot 2016-06-07 at 10.37.08 AM

Let’s get started and see where we end up.

We will be exploring the idea that experimental probability will eventually meet the theoretical probability.

Here is the code for a turbo flip option:

Screen Shot 2016-06-07 at 12.34.55 PM

YouTube tutorial by a fellow LKDSB teacher: Mr. Aspinall
https://youtu.be/k_75IT1Dkro