Dice game probabilities: Difference between revisions

Content added Content deleted
No edit summary
Line 465: Line 465:
finally (return (/ w (* (expt f1 n1) (expt f2 n2))))))</syntaxhighlight>
finally (return (/ w (* (expt f1 n1) (expt f2 n2))))))</syntaxhighlight>


===== 3. Execution =====
==== 3. Execution ====


<pre>(winning-probability 9 4 6 6)
<pre>(winning-probability 9 4 6 6)