.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $5.00

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 3: The Awakening

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #9  
Old September 11th, 2009, 03:00 AM

Pehmyt Pehmyt is offline
Private
 
Join Date: May 2008
Location: Germany
Posts: 5
Thanks: 0
Thanked 4 Times in 3 Posts
Pehmyt is on a distinguished road
Default Re: OW describes the "Zeroing Effect" for Begginers

Quote:
Originally Posted by Agema View Post
If anyone wants to check this sort of phenomenon mathematically, I've attached an MS Excel file I made months ago. I don't know programming, so I constructed it longhand with Excel, and it's accurate up to DRN rolls about 40-50, which means it's over 99.99% accurate.
I think I should comment that as far as I can understand your spreadsheet, the results are ~10% off as soon as the open-ended rolls enter the picture. Did you take into account that 6 equals "5 +extra roll"? Not that it matters for the present discussion.

For example, the probability of getting 7 should be that of throwing one of (2;5), (3;4), (4;3), (5;2), (6,1;1), (1;6,1) (with ";" separating the two dice), that is 4/36 + 2/216 = 13/108 = 0.1204.

The results corresponding your column A can be computed exactly by writing the value of DRN roll as X=5k+r+1, with r between 0 and 4, and using
Code:
P(DRN = 5k+r+1) =  ((6-r)5k +r )/6^(k+2)

The chances of DRN being at least as large as a given number X=5k+r+1 can also be computed exactly, although this is not directly useful. It could be practical for generating a table similar to that in manual without losing too much precision. For 6-sided dice it reads
Code:
P(DRN >= 5k+r+1) = ( (48 - 13r + r^2)5k + 72 + r - r^2 )/( 2 * 6^(k+2) )
Reply With Quote
The Following 2 Users Say Thank You to Pehmyt For This Useful Post:
 

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 12:00 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.