This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """ | |
| Requires matplotlib for plotting. Tested with python 27. If you want to try this | |
| without plotting, remove the final two lines and the pylab import. The guts only | |
| depends on math and will work with vanilla python. | |
| """ | |
| import math | |
| import pylab | |
| def probabilities(posn): |