Wednesday, November 4, 2015

Scratch and Binomial Walks

I am at the #bit15 conference and attended the Coding and Math session with @georgegadanidis.  We learned a little Scratch programming.

We did the requisite square and circle creation tasks.  He had some nice connections to higher level math - including extending a two coin toss scenario to the binomial theorem.  At that point, I worked on my program to make the cat do a binomial walk - not realizing that he would have that example later.  I have shared my project at https://scratch.mit.edu/projects/86529699/ and embedded it below:


The cat should start moving when you click the green flag.  In the offline Scratch editor, you can export the list of horizontal positions where 0 is the centre.  I then imported it into Fathom to make a histogram.


Looks pretty binomial to me!

I am using Twitter as part of our #mmmmECOO presentation - my handle is @rossisen.