In this game, you roll a number of six-sided dice to get a
total. The total is either the highest single die result, or the sum of any multiples rolled, whichever is higher.
For example: If I roll three dice and get a 3, 4, and 6, my total is 6. But if I roll a 4, 4, and 6, my total is 8, the sum of the two 4s.
What I want to find out is the mean, median, mode, and standard deviation of the possible totals given N dice. How might I create a simple script to compute this?
[more inside]
posted by j0hnpaul
on Nov 30, 2012 -
24 answers
What IT/programming/technology type conferences should I try to go to this year (June 2012 - June 2013)? I have to come up with a list of 3 by Thursday for my manager!
[more inside]
posted by The Supreme Dominar
on Apr 10, 2012 -
5 answers
I've been doing LAMP web development for about ten years. I'd like to learn a new language to diversify my skills. What language should I choose?
[more inside]
posted by ixohoxi
on Jan 7, 2011 -
32 answers
I want to create a simple but dynamic Bible-reading web app from the ground up. I have very little web design and development experience. Where do I begin?
[more inside]
posted by joshrholloway
on Apr 22, 2010 -
4 answers
I am trying to decide which web language + framework to focus on for learning this summer. I am stuck between PHP, Python (with Django maybe) or Ruby (on Rails).
[more inside]
posted by the_dude
on May 29, 2008 -
35 answers
What are the best database-driven Web application development frameworks out there right now? More specifically, please orient me to toolsets you know of that are similar to Ruby on Rails.
[more inside]
posted by killdevil
on Jul 6, 2007 -
17 answers
What web technology/language should I learn to make simple online apps and just generally enhance my bare-bones knowledge of HTML?
[more inside]
posted by Robot Johnny
on Dec 10, 2006 -
18 answers
Why should I look at Ruby on Rails for development of applications instead of the traditional LAMP stack, especially given the advancements in PHP since 5.0?
[more inside]
posted by xmutex
on Oct 31, 2006 -
12 answers
Should I switch from PHP to Ruby? I know this topic has been covered before, but I have some specific questions that I haven't been able to find answers to, here or elsewhere: 1. How complete are the Ruby libraries? and 2. How is Ruby's performance compared to PHP?
[more inside]
posted by jay.jansheski
on Dec 4, 2005 -
22 answers