Hello,

I've written an @interact that does the Monty Hall problem [1] -- you
choose a door, then it "opens" one of the other doors, and then allows
you to switch and tells you the result. I have a working version [2],
but I'd like to have a button that resets the @interact so the user can
try it again, and eventually see the winning percentage converge to 2/3.
Is there a way to do that? Right now I just reload the cell, which isn't
as nice as I want.

Dan


References:
[1]  https://secure.wikimedia.org/wikipedia/en/wiki/Monty_Hall_problem
[2]  https://sagenb.kaist.ac.kr:8066/home/pub/26

--
---  Dan Drake
-----  http://mathsci.kaist.ac.kr/~drake
-------

Attachment: signature.asc
Description: Digital signature

Reply via email to