Description Usage Arguments Details Value Examples
Mean and probability of flipping fair or loaded coin
1 |
n |
number of trials |
prob |
probability assigned to each possible outcome |
The default probabilty equals to 1/n. All the assigned probabilites must between 0 and 1.
Mean value and corresponding probabilities for all possible outcomes.
1 2 |
MEAN_VALUE PROBABILITY
1 0.00 0.0625
2 0.25 0.2500
3 0.50 0.3750
4 0.75 0.2500
5 1.00 0.0625
MEAN_VALUE PROBABILITY
1 0.0000000 0.000001
2 0.1666667 0.000054
3 0.3333333 0.001215
4 0.5000000 0.014580
5 0.6666667 0.098415
6 0.8333333 0.354294
7 1.0000000 0.531441
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.