Post Reply 
Ehrenfest's urn
12-29-2021, 11:53 PM
Post: #3
RE: Ehrenfest's urn
Hi

Thank you for replying.

First , the algorithme is from a book, I've just translated it into the prime language .

Second , it does not try to remove L2(2) from L2 but n from L2 . According to the Ehrenfest'urns model an urn can be empty (this is anticipated in the IF...THEN...ELSE),
so L2(2) may not exist . I should have the following outcomes :

{1,2}
{}
or
{1}
{2}
or
{}
{1,2}
or
{2}
{1}

If you get these results , could copy and paste you code ?

Thank you .
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Ehrenfest's urn - zahi48g - 12-29-2021, 10:16 PM
RE: Ehrenfest's urn - toml_12953 - 12-29-2021, 11:11 PM
RE: Ehrenfest's urn - zahi48g - 12-29-2021 11:53 PM
RE: Ehrenfest's urn - Didier Lachieze - 12-30-2021, 05:28 AM
RE: Ehrenfest's urn - John Keith - 12-30-2021, 10:30 PM
RE: Ehrenfest's urn - zahi48g - 01-03-2022, 11:10 PM
RE: Ehrenfest's urn - toml_12953 - 01-04-2022, 02:09 AM



User(s) browsing this thread: 2 Guest(s)