Bitcoin Forum
May 12, 2024, 08:50:24 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Hard Dice Question [ .01 btc prize]  (Read 729 times)
RoooooR (OP)
Legendary
*
Offline Offline

Activity: 1008
Merit: 1000


GigTricks.io | A CRYPTO ECOSYSTEM FOR ON-DEMAND EC


View Profile
January 01, 2014, 09:01:17 PM
 #1

Roll a random dice1
Roll a random dice2
Roll a random dice3 that has 12 faces.

What is the possibility of this equation ?

Code:
dice1+dice2 = dice3



            █ █ █ █ █
         ██           ██
       ██     █ █ █ █   ██
     ██    ██        ██
   ██   ██               
  ██   ██     ████████                  ██████████
            ███          ██   █████████     ██      ██████  ██   ███████  ██    ███   ███████
 ██   ██    ███              ██      ███    ██      ██          ███       ██   ███  ██
 ██   ██    ███  ██████  ██  ██      ███    ██      ██      ██  ███       ██  ███   ██
            ███      ██  ██  ██      ███    ██      ██      ██  ███       ██████     ███████
 ██   ██    ███      ██  ██  ██      ███    ██      ██      ██  ███       ██  ██           ██
             ██      ██  ██  ██      ███    ██      ██      ██  ███       ██   ███         ██
 ██   ██      ███████    ██   █████████     ██      ██      ██   ███████  ██    ███  ███████
  ██   ██                           ███
   ██    ██          ██            ███
     ██    ██ █ █ █ █   ██
       ██             ██
          █ █ █ █ █ █
























Telegram     Facebook     Twitter     Medium
-------------------------------------------------------------------
.WEBSITE. |█| .WHITEPAPER.












......BOUNTY......
-----------------------------------
..ANN THREAD..
TalkImg was created especially for hosting images on bitcointalk.org: try it next time you want to post an image
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
Sheldor333
Sr. Member
****
Offline Offline

Activity: 406
Merit: 250


View Profile
January 02, 2014, 12:15:43 AM
 #2

Check these forum posts:
http://stackoverflow.com/questions/5229745/c-question-can-anyone-help
http://www.coderanch.com/t/530468/java/java/Dice-Rolling-Simulation

RoooooR (OP)
Legendary
*
Offline Offline

Activity: 1008
Merit: 1000


GigTricks.io | A CRYPTO ECOSYSTEM FOR ON-DEMAND EC


View Profile
January 02, 2014, 08:15:30 AM
 #3

Could you please clarify, do dice1 and dice2 have 6 or 12 faces?
Yeah, dice1 and 2 normal, dice3 has 12 faces.


            █ █ █ █ █
         ██           ██
       ██     █ █ █ █   ██
     ██    ██        ██
   ██   ██               
  ██   ██     ████████                  ██████████
            ███          ██   █████████     ██      ██████  ██   ███████  ██    ███   ███████
 ██   ██    ███              ██      ███    ██      ██          ███       ██   ███  ██
 ██   ██    ███  ██████  ██  ██      ███    ██      ██      ██  ███       ██  ███   ██
            ███      ██  ██  ██      ███    ██      ██      ██  ███       ██████     ███████
 ██   ██    ███      ██  ██  ██      ███    ██      ██      ██  ███       ██  ██           ██
             ██      ██  ██  ██      ███    ██      ██      ██  ███       ██   ███         ██
 ██   ██      ███████    ██   █████████     ██      ██      ██   ███████  ██    ███  ███████
  ██   ██                           ███
   ██    ██          ██            ███
     ██    ██ █ █ █ █   ██
       ██             ██
          █ █ █ █ █ █
























Telegram     Facebook     Twitter     Medium
-------------------------------------------------------------------
.WEBSITE. |█| .WHITEPAPER.












......BOUNTY......
-----------------------------------
..ANN THREAD..
SaltySpitoon
Legendary
*
Offline Offline

Activity: 2590
Merit: 2154


Welcome to the SaltySpitoon, how Tough are ya?


View Profile
January 02, 2014, 08:31:03 AM
 #4

Wouldn't it be (1/6) (1/6) (1/12)

You have a 1 in 6 chance of getting a number on Die 1

and a 1 in 6 chance of getting a number on Die 2

And you have a 1 in 12 chance of getting a number on Die 3


giving you a 0.23% chance of any given combination of getting any one instance. I'm not entirely sure if thats what you are going for, if you are just talking about what your chances of rolling two dice,and the chances of the sum equaling the same number rolled on the 12 sided die, your answer is roughly 1 in 12, as unless you roll a 1 on the 12 sided die, you have a 1 in 12 chance of that number matching the sum of the two six sided dice.

*edit* whoops I was misunderstanding you. If no one has answered this by the time I wake up tomorrow, I'll calculate it.
RoooooR (OP)
Legendary
*
Offline Offline

Activity: 1008
Merit: 1000


GigTricks.io | A CRYPTO ECOSYSTEM FOR ON-DEMAND EC


View Profile
January 02, 2014, 10:25:22 AM
 #5

Hey

I asked a mathematic teacher and he said 1/12 .

(6 * 6) / (6 * 6 * 12) = 1/12


            █ █ █ █ █
         ██           ██
       ██     █ █ █ █   ██
     ██    ██        ██
   ██   ██               
  ██   ██     ████████                  ██████████
            ███          ██   █████████     ██      ██████  ██   ███████  ██    ███   ███████
 ██   ██    ███              ██      ███    ██      ██          ███       ██   ███  ██
 ██   ██    ███  ██████  ██  ██      ███    ██      ██      ██  ███       ██  ███   ██
            ███      ██  ██  ██      ███    ██      ██      ██  ███       ██████     ███████
 ██   ██    ███      ██  ██  ██      ███    ██      ██      ██  ███       ██  ██           ██
             ██      ██  ██  ██      ███    ██      ██      ██  ███       ██   ███         ██
 ██   ██      ███████    ██   █████████     ██      ██      ██   ███████  ██    ███  ███████
  ██   ██                           ███
   ██    ██          ██            ███
     ██    ██ █ █ █ █   ██
       ██             ██
          █ █ █ █ █ █
























Telegram     Facebook     Twitter     Medium
-------------------------------------------------------------------
.WEBSITE. |█| .WHITEPAPER.












......BOUNTY......
-----------------------------------
..ANN THREAD..
Frost000
Full Member
***
Offline Offline

Activity: 168
Merit: 100



View Profile
January 02, 2014, 02:50:58 PM
 #6

Yup, I just did the calculation and it'd be 36 out 432, or 1 out of 12.
quone17
Full Member
***
Offline Offline

Activity: 224
Merit: 104


View Profile WWW
January 02, 2014, 05:51:19 PM
 #7

Hmm I think the thing we're missing is that dice 3 can roll a 1, but dice 1 plus dice 2 cannot equal 1.  So the answer must be something less than 1/12.

I'll say it's 1/13, or 1 in 13 tries.


1EZM51qQuhyk8mrUk9ffvRY7aPT9RxMUiT

Bitcoin Exchange Guide- List of the Top Bitcoin Exchanges, Find Places to Buy, Sell and Trade Bitcoins.
jjc326
Hero Member
*****
Offline Offline

Activity: 700
Merit: 500


View Profile
January 02, 2014, 06:02:26 PM
 #8

my guess is

3/40, 3 outta 40 tries.
quone17
Full Member
***
Offline Offline

Activity: 224
Merit: 104


View Profile WWW
January 02, 2014, 06:10:44 PM
 #9

Wait a minute.  Did OP say there was a prize and then not pay it? wtf?

Bitcoin Exchange Guide- List of the Top Bitcoin Exchanges, Find Places to Buy, Sell and Trade Bitcoins.
RoooooR (OP)
Legendary
*
Offline Offline

Activity: 1008
Merit: 1000


GigTricks.io | A CRYPTO ECOSYSTEM FOR ON-DEMAND EC


View Profile
January 02, 2014, 10:43:39 PM
 #10

Wait a minute.  Did OP say there was a prize and then not pay it? wtf?

I sent you ! Thanks !


            █ █ █ █ █
         ██           ██
       ██     █ █ █ █   ██
     ██    ██        ██
   ██   ██               
  ██   ██     ████████                  ██████████
            ███          ██   █████████     ██      ██████  ██   ███████  ██    ███   ███████
 ██   ██    ███              ██      ███    ██      ██          ███       ██   ███  ██
 ██   ██    ███  ██████  ██  ██      ███    ██      ██      ██  ███       ██  ███   ██
            ███      ██  ██  ██      ███    ██      ██      ██  ███       ██████     ███████
 ██   ██    ███      ██  ██  ██      ███    ██      ██      ██  ███       ██  ██           ██
             ██      ██  ██  ██      ███    ██      ██      ██  ███       ██   ███         ██
 ██   ██      ███████    ██   █████████     ██      ██      ██   ███████  ██    ███  ███████
  ██   ██                           ███
   ██    ██          ██            ███
     ██    ██ █ █ █ █   ██
       ██             ██
          █ █ █ █ █ █
























Telegram     Facebook     Twitter     Medium
-------------------------------------------------------------------
.WEBSITE. |█| .WHITEPAPER.












......BOUNTY......
-----------------------------------
..ANN THREAD..
Hippie Tech
aka Amenstop
Legendary
*
Offline Offline

Activity: 1624
Merit: 1001


All cryptos are FIAT digital currency. Do not use.


View Profile WWW
January 04, 2014, 02:46:52 AM
 #11

Wrong wrong wrong... Its 50/50.

It either WILL or it WILL NOT happen. Tongue

deepceleron
Legendary
*
Offline Offline

Activity: 1512
Merit: 1032



View Profile WWW
January 04, 2014, 03:51:50 AM
 #12

Lets view it starting with the d12 - it has a 1 in 12 chance of being any particular number.
Then we need to look at the probability that the two dice will roll a number that matches.
Then we evaluate the probability of the rolls being this match outcome for each d12 case. Then sum.

d12d12 prob2xd6's match probprob of this match
11/120/360/432
21/121/361/432
31/122/362/432
41/123/363/432
51/124/364/432
61/125/365/432
71/126/366/432
81/125/365/432
91/124/364/432
101/123/363/432
111/122/362/432
121/121/361/432
Probability of match36/432


The probability of a match is 8.333% - also 1/12


Hmm I think the thing we're missing is that dice 3 can roll a 1, but dice 1 plus dice 2 cannot equal 1.  So the answer must be something less than 1/12.

I'll say it's 1/13, or 1 in 13 tries.
Wait a minute.  Did OP say there was a prize and then not pay it? wtf?

I sent you ! Thanks !

Oops...
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!