The Bignum Calculator is a Javascript program that uses arrays to calculate numbers beyond the normal reach of hand calculators and computer programs.
The following are explanations of some of the features:
Note that the use of recombination in probability is limited. Using the example above:
First Color | |||
---|---|---|---|
Second Color | RED | GREEN | BLUE |
RED | Red | Yellow | Magenta |
GREEN | Yellow | Green | Cyan |
BLUE | Magenta | Cyan | Blue |
If the first color and the second color are chosen independently, the probabilities if the colors are:
The different colors have different probabilities. All of the table posuition outcomes are equally likely, but the same color can appear in multiple outcomes. Thus, some colors are more likely than others.
Use R(n,r) to find the number of possible colors. To find out what the colors are, use the table above, and cross off the duplicate colors.
Make the table below, using the list of colors found, and placing to the right of each color only ONE way to mix that color.
Randomly choose one color from the left column. Then install the colors found in the other columns.
The order the colors are installed in the beams does not matter.
Color Chosen | Colors Installed | |
---|---|---|
Red | RED | RED |
Yellow | RED | GREEN |
Green | GREEN | GREEN |
Cyan | GREEN | BLUE |
Blue | BLUE | BLUE |
Magenta | RED | BLUE |
The above method produces the following colors in the following probabilities:
Now all of the colors have the same probabilitiies.