View Single Post
Old 07-26-2017, 09:03 PM   #23
TheSaxRunner05
The Doctor
FFR Veteran
 
TheSaxRunner05's Avatar
 
Join Date: Apr 2006
Age: 35
Posts: 6,145
Default Re: Math Question - Probability

Quote:
Originally Posted by SKG_Scintill View Post
that doesn't work

using 1 to 5, doing it twice before taking highest
Code:
[num1, num2]: highestnum
1,1: 1	2,1: 2	3,1: 3	4,1: 4	5,1: 5
1,2: 2	2,2: 2	3,2: 3	4,2: 4	5,2: 5
1,3: 3	2,3: 3	3,3: 3	4,3: 4	5,3: 5
1,4: 4	2,4: 4	3,4: 4	4,4: 4	5,4: 5
1,5: 5	2,5: 5	3,5: 5	4,5: 5	5,5: 5

[amount of combinations]
5^2 = 25

[number's amount of occurrences]
1: 1
2: 3
3: 5
4: 7
5: 9

[weight of numbers]
1: 1 * 1 = 1
2: 3 * 2 = 6
3: 5 * 3 = 15
4: 7 * 4 = 28
5: 9 * 5 = 45

[sum of weights]
1 + 6 + 15 + 28 + 45 = 95

[average] = [sum of weights] / [amount of combinations]

average: 95 / 25 = 3.8

using your formula:
0.5^(1/2)*4+1 = 3.8284~~~
I see, and since all answers will be rational numbers, using the square root function will fail. I can match one really close to the actual probabilities, but really close is like horseshoes and hand grenades in math lol

Thanks for going back and forth on this, I'm going to toy with the equation you posted a bit more.
__________________


TheSaxRunner05 is offline   Reply With Quote