*
*
Home
Help
Login
Register
Welcome, Guest. Please login or register.
March 05, 2014, 09:56:38 PM

Login with username, password and session length
Forum changes: Editing of posts has been turned off until further notice.
Search:     Advanced search
275647 Posts in 27717 Topics by 4283 Members Latest Member: - otto Most online today: 56 - most online ever: 429 (November 03, 2007, 04:35:43 AM)
Pages: [1]
Print
Author Topic: Brain hurts, help with math  (Read 598 times)
coxcomb
Member

Posts: 202


WWW
« on: February 24, 2004, 09:28:24 PM »

Hi All,
I have seen some math whiz types posting here before and I hope one of them can help me.

The basic idea is that you roll a number of d12s looking for results that are less than or equal to a target number. So, say, I'm rolling 4d12 and each die that comes up 6 or less is a success.

What I need to do is determine the odds of getting each possible number of successes for each rolling combination up to rolling 12d12 looking for 12 or less (chance for 12 successes = 100% -- see, I'm not THAT hopeless).

Any help?
Logged

*****
Jay Loomis
Coxcomb Games
Check out my http://bigd12.blogspot.com">blog.
Jack Aidley
Member

Posts: 488


WWW
« Reply #1 on: February 25, 2004, 04:07:17 AM »

Let's let s be your chance of success (target/12) and f be your chance of failure (1-s). Then your probability of getting n successes on d dice is:

(s^n)*(f^(d-n))*number of possible arrangements

I'm using ^ to mean to the power of... (why does BBCode not have super- and sub- script?)

So how many possible arrangement are there? Well for a set of n distinct objects, the number of possible arrangements is n!, but when some of the items are identical, this is divided by the factorial of that number, so in your case:

possible arrangements = d!/(n!(d-n)!) (which happens to equal dCn)

So, for 3 dice, with a TN of 5:

0 successes = (7/12)^3*1 / 12^3 ~= 0.20
1 success = (5/12)*(7/12)^2*3 ~= 0.43
2 successes = (5/12)^2*(7/12)*3 ~= 0.30
3 successes = (5/12)^3 ~= 0.07

That help?
Logged

- Jack Aidley, Great Ork Gods, Iron Game Chef (Fantasy): Chanter
coxcomb
Member

Posts: 202


WWW
« Reply #2 on: February 25, 2004, 08:34:39 AM »

Thanks, Jack, you're my new hero!
Logged

*****
Jay Loomis
Coxcomb Games
Check out my http://bigd12.blogspot.com">blog.
Pages: [1]
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC
Oxygen design by Bloc
Valid XHTML 1.0! Valid CSS!