Sunday, May 15, 2022

Messin' with p5*js

In anticipation of using some version of processing js in a non-AP computer science class I will be teaching this summer, I am just tinkering with arrays this morning. I like how this turned out.


Columbus Math Teacher Circle

I was fortunate enough to attend the Columbus Math Teacher Circle yesterday and to share the game Borel as a way to introduce my favorite instructional arc for teaching probability ideas: Intuition, Simulation, Calculation.

The first problem we looked at was this:

Roll three 6-sided dice and one 30-sided dice. Will the difference between the maximum value and minimum value showing on the dice be greater than 15?

Pause for a moment and think about this problem. What does your gut tell you? Then roll these digital Polypad dice to get a feel.



Saturday, June 19, 2021

My Google Data Analytics Capstone Project


What do you hope to take away from this capstone project?
I am hoping to show that I can do it, and maybe demonstrate a practical understanding of data dashboards so I can better serve the schools I am working with.

What is one important skill you think you’ll learn?
I think just brining it all together...R, Kaggle, Tableau...

Which skills do you most look forward to demonstrating?
Google Data Studio perhaps? But I have learned a few new google sheets tricks

What are some issues you might encounter?
Having my OCD kick in.

Sunday, October 4, 2020

More Heads or Tails?

Over the course of 100 or 1,000 or 10,000 flips, will there be more heads or more tails? And once one side of the coin takes the lead, do they relinquish it at some point?

I explored this with a simulation using Texas Instruments' Nspire CX CAS with Python.

Heads in a row?

 How many coin flips does it take to get N heads in a row? Here is a simulation in Texas Instruments' Nspire CX CAS with Python

Messing with Python on the TI Nspire CX CAS

A reverse raffle is where you purchase a raffle ticket, and all the tickets are placed in a large bucket, and the last ticket pulled out is the winner.

I used to do a variation of a reverse raffle for grading purposes. I would number my groups, say, 1 through 8, and then randomly choose numbers on the Nspire until only one number was left. My twist was that if a number was chosen, if it is still in play, you remove it. If the number has been removed, put the number back in play.

I wrote a nice python script to do this in Trinket.io


Now that @TICalculators has introduced a sweet Python implementation on the Nspire, I created the script there:

Squares in p5.js