I want to run a simulation using a spinner where “yes” happens 4.5% of the time, and “no” happens 95.5% of the time. I’m familiar with how I could do this in Tinkerplots, but I can’t quite figure out how to change those values in the sampler plugin with CODAP. I feel like I’m missing something obvious, but I would love to demo this in my NCTM session as alternative to Tinkerplots for classrooms with only Chromebooks.
The current CODAP sampler does not make this easy, more’s the pity. But it is possible, though with the collector rather than a spinner. (You may have already figured this out?) I’ll list my steps and I’ll include a link to the document that has the result.
Add the Sampler plugin (of course)
With the Table tool, make a <new> dataset.
Click on the green rectangle on the far left of this table and choose New Cases.
Enter 200 and press the New Cases button.
You could hand enter 191 “yes” values and 9 “no” values, but it’s simpler to use the formula: if(caseIndex<191,”yes”,”no”)
In the Sampler, choose the Collector device.
Fill in the number of items and samples you want and press Start.
Whew! Sure hope we get to continue Sampler development soon!