Skip to main content
n p(n) \$n p(n)\$
1 0.05 0.05
2 0.095] 0.19095 0.19
3 0.12825 0.38475
4 0.14535 0.5814
5 0.14535 0.72675
6 0.130815 0.78489
7 0.106832 0.747824
8 0.0793611 0.6348888
9 0.0535687 0.4821183
10 0.0327364 0.327364
11 0.0180050 0.198055
12 0.00883884 0.10606608
13 0.00383016 0.04979208
14 0.00144368 0.02021152
15 0.000464039 0.006960585
16 0.000123743 0.001979888
17 2.62956e-05 0.0004470252
18 4.17635e-06 7.51743e-5
19 4.40937e-07 8.377803e-6
20 2.32020e-08 4.6404e-7
n p(n) \$n p(n)\$
1 0.05 0.05
2 0.095] 0.19
3 0.12825 0.38475
4 0.14535 0.5814
5 0.14535 0.72675
6 0.130815 0.78489
7 0.106832 0.747824
8 0.0793611 0.6348888
9 0.0535687 0.4821183
10 0.0327364 0.327364
11 0.0180050 0.198055
12 0.00883884 0.10606608
13 0.00383016 0.04979208
14 0.00144368 0.02021152
15 0.000464039 0.006960585
16 0.000123743 0.001979888
17 2.62956e-05 0.0004470252
18 4.17635e-06 7.51743e-5
19 4.40937e-07 8.377803e-6
20 2.32020e-08 4.6404e-7
n p(n) \$n p(n)\$
1 0.05 0.05
2 0.095 0.19
3 0.12825 0.38475
4 0.14535 0.5814
5 0.14535 0.72675
6 0.130815 0.78489
7 0.106832 0.747824
8 0.0793611 0.6348888
9 0.0535687 0.4821183
10 0.0327364 0.327364
11 0.0180050 0.198055
12 0.00883884 0.10606608
13 0.00383016 0.04979208
14 0.00144368 0.02021152
15 0.000464039 0.006960585
16 0.000123743 0.001979888
17 2.62956e-05 0.0004470252
18 4.17635e-06 7.51743e-5
19 4.40937e-07 8.377803e-6
20 2.32020e-08 4.6404e-7
added 269 characters in body
Source Link
Dave
  • 2.9k
  • 14
  • 40
 
n p(n) \$n p(n)\$
1 0.05 0.05
2 0.095] 0.19
3 0.128250.38475
4 0.14535 0.5814
5 0.145350.72675
6 0.130815 0.78489
7 0.106832 0.747824
8 0.07936110.6348888
9 0.0535687 0.4821183
10 0.0327364 0.327364
11 0.01800500.198055
12 0.00883884 0.10606608
13 0.00383016 0.04979208
14 0.001443680.02021152
15 0.0004640390.006960585
16 0.000123743 0.001979888
17 2.62956e-050.0004470252
18 4.17635e-06 7.51743e-5
19 4.40937e-078.377803e-6
20 2.32020e-08 4.6404e-7

From, this you can get the average of 5.294 as the sum of \$n p(n)\$.

n p(n)
1 0.05
2 0.095]
3 0.12825
4 0.14535
5 0.14535
6 0.130815
7 0.106832
8 0.0793611
9 0.0535687
10 0.0327364
11 0.0180050
12 0.00883884
13 0.00383016
14 0.00144368
15 0.000464039
16 0.000123743
17 2.62956e-05
18 4.17635e-06
19 4.40937e-07
20 2.32020e-08

From, this you can get the average of 5.294.

 
n p(n) \$n p(n)\$
1 0.05 0.05
2 0.095] 0.19
3 0.128250.38475
4 0.14535 0.5814
5 0.145350.72675
6 0.130815 0.78489
7 0.106832 0.747824
8 0.07936110.6348888
9 0.0535687 0.4821183
10 0.0327364 0.327364
11 0.01800500.198055
12 0.00883884 0.10606608
13 0.00383016 0.04979208
14 0.001443680.02021152
15 0.0004640390.006960585
16 0.000123743 0.001979888
17 2.62956e-050.0004470252
18 4.17635e-06 7.51743e-5
19 4.40937e-078.377803e-6
20 2.32020e-08 4.6404e-7

From, this you can get the average of 5.294 as the sum of \$n p(n)\$.

added 12 characters in body
Source Link
Dave
  • 2.9k
  • 14
  • 40

for \$n>1\$, and \$p(n)\$ indicates the probability that the success occurs on the n'th roll.

$$ p(n) = q_n \prod_{i=0}^{n-1} (1-q_i) $$ where \$0 \le q_i \le 1\$ is the probability of success on the i'th roll. And, with the convention \$q_0=0\$ (you can't have succeeded before your first roll)


        q_0=0(1-q_0)=1
       /   \
     q_1  (1-q_1)                    # first roll
            /  \
           q_2 (1-q_2)               # second roll
                /   \ 
               q_3  (1-q_3)          # third roll
                      ...

for \$n>1\$.

$$ p(n) = q_n \prod_{i=0}^{n-1} (1-q_i) $$ where \$0 \le q_i \le 1\$ is the probability of success on the i'th roll. And the convention \$q_0=0\$ (you can't have succeeded before your first roll)


        q_0=0
       /   \
     q_1  (1-q_1)                    # first roll
            /  \
           q_2 (1-q_2)               # second roll
                /   \ 
               q_3  (1-q_3)          # third roll
                      ...

for \$n>1\$, and \$p(n)\$ indicates the probability that the success occurs on the n'th roll.

$$ p(n) = q_n \prod_{i=0}^{n-1} (1-q_i) $$ where \$0 \le q_i \le 1\$ is the probability of success on the i'th roll, with the convention \$q_0=0\$ (you can't have succeeded before your first roll)


        (1-q_0)=1
       /   \
     q_1  (1-q_1)                    # first roll
            /  \
           q_2 (1-q_2)               # second roll
                /   \ 
               q_3  (1-q_3)          # third roll
                      ...
added 12 characters in body
Source Link
Dave
  • 2.9k
  • 14
  • 40
Loading
correct delimiter of inline MathJax
Source Link
KRyan
  • 360.8k
  • 59
  • 943
  • 1.5k
Loading
added 584 characters in body
Source Link
Dave
  • 2.9k
  • 14
  • 40
Loading
added 584 characters in body
Source Link
Dave
  • 2.9k
  • 14
  • 40
Loading
added 1 character in body
Source Link
Dave
  • 2.9k
  • 14
  • 40
Loading
added 435 characters in body
Source Link
Dave
  • 2.9k
  • 14
  • 40
Loading
Source Link
Dave
  • 2.9k
  • 14
  • 40
Loading