The Spinner of War
-
How difficult would it be to modify/simplify http://illuminations.nctm.org/ActivityDetail.aspx?ID=79 so I can better model war for my Intro to International Relations class? I've used the NCTM's probability spinner in my Intro to International Relations class the last couple terms, and if possible, I'd like to modify it slightly to fit my activity slightly better. I use the spinner as part of a class activity on bargaining and war. Pairs or groups of students are asked to divide a resource (something tangible - candy or laundry money, depending on how generous I feel that term) either through negotiation or by "war" (spinning the spinner). It costs a couple candy bars or some quarters to spin, but one player will get all of the remaining resource.* Sometimes the probabilities are even, sometimes they're lopsided, sometimes there's a third option in which all of the MiniSnickers go into my tummy, and sometimes the probabilities are hidden from the players. It's been a popular activity, and a handful of students enroll in the class every term because they've heard about it from their friends. The http://illuminations.nctm.org/ActivityDetail.aspx?ID=79 has worked reasonably well every time I've used it, but I think I make the activity work better with some minor (I hope) modifications. In particular, I'd like a spinner that: -Doesn't return extraneous information (extraneous for my purposes, that is) - number of spins, results frame, cumulative experimental/theoretical counts. -Allows for private/hidden probabilities. When I work with the NCTM spinner, I have to turn the projector off to hide them, and then wait for it to warm back up for the big reveal. Basically, the NCTM's spinner is a fantastic way to illustrate probability and large-sample properties, but I'd like to make it fit my bargaining game more closely. The big challenge - I have zero experience with Java. If it matters, I work in R and typeset with LaTeX, so I have some experience with ridiculous programming languages. Is it possible to modify the NCTM's spinner easily? Should I just find a student who can do it and pay him/her to do it for me? View Page Source shows me what seems to be the code, but I'm guessing Spinner.class is another set of code that's being referenced. var AppClass ="Spinner.class"; var AppWidth = "600"; var AppHeight= "700"; var Version1Dir = ""; var OtherTags = "codebase=tools/spinner/"; var EmbedStyleParams = "num_sects=\"4\" isAdjustable=\"true\""; var Params = ""; *It's http://www.jstor.org/pss/2706903, basically - in bargaining situations, war is inherently costly, and a negotiated settlement that leaves both players better off always exists.
-
Answer:
There's no download link, so I don't think would be any way to get the source and modify it. Your best bet would be to email them and ask for the source, or if they could make the changes you need. Really though, for a competent java programmer, writing an app like you need would probably take a day or so. Talk to someone in the CS department, they can probably find someone to write it for you pretty cheaply. And -- as much as I hate to say it -- if you are going to write it (or have it written) from scratch, Flash might be better. But really, it's a one day project. Not worth trying to modify the existing code.
brozek at Ask.Metafilter.Com Visit the source
Other answers
Unless you have the source code, there is not much you can modify. The javascript on the page contains parameters to the java applet. These you can change, but it doesn't look like there are many options here.
whiskeyspider
After a few minutes searching I'm guessing that this was created with http://mathinsight.ctl.sri.com/pro/default.htm. Their site says that they have something called Math Insight Pro which .. allows teachers, math specialists, curriculum planners, or other support staff to create new Math Insight activities or modify existing one... I can't find much information on the web about availability so you need to contact SRI.
rdr
A few more minutes reveals that Math Insight is dead but there is a follow on project called http://butterfly.ctl.sri.com/escot/ that had a http://butterfly.ctl.sri.com/escot/resources/components/spinner.html. Unfortunately it looks like ESCOT died in 2002. Maybe you could contact the authors.
rdr
Thanks for the excellent answers - I'm going to contact NCTM, SRI, and Escot just in case, but it sounds like hiring a CS student would be a good way to go. Thanks!
brozek
I swear that this is my last comment but http://www.math.uah.edu/stat/objects/devices/Spinner.xhtml for you, at least that's what the website says.
rdr
Try a different technology. Get two ten-sided D&D nerd dice. Roll both, interpreting the first one as the tens' place, the second as the ones' place, in a two digit number. This gives you a value between 00 and 99. Prior to the roil, assign the percentage possibly of each possible outcome. Then convert this into an absolute range, by adding the percentage possibly of the Nth outcome to the sum (outcome1 .. outcome N-1). (E.g, possibilities of 50%, 30%, 20% become ranges 0-49, 50-79, 80-99. Or interpret "00" as one hundred, if you wish: 1-50, 51-80, 81-00.) Take the number you've rolled, see into what range it falls, and that gives you the outcome for "spin". As you can write up multiple tables of percentages, you can display them all without mentioning which you'll use. You can even explore mixed strategies, or "tipping points", by making an initial roll of one die that selects the table to use for the subsequent roll.
orthogonality
At my school, the Information Technology department has resources to do one-off programming assignments for profs. The computer science department would also know what students would be capable of and interested in a little freelance programming.
MadamM
Just an update if anyone's interested - I applied for a small grant, and the Computer Science Club is going to take on the project as their Fall-term fundraiser. Win, win, win - it's good for them, good for me, and good for my future students!
brozek
Related Q & A:
- How do I deploy WAR file to Tomcat 6.0?Best solution by Stack Overflow
- How can I make a Spinner only by java?Best solution by stackoverflow.com
- What is the deal with the new Civil War on Marvel?Best solution by Yahoo! Answers
- Was China the first country to attack the United Nations’ troops (in the Korea War) after the United Nations w?Best solution by Yahoo! Answers
- How many people play Gears of War?Best solution by gamefaqs.com
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.