official code for http://journals.aps.org/pre/abstract/10.1103/PhysRevE.89.022142 Extended Parrondo's game and Brownian ratchets: Strong and weak Parrondo effect by Degang Wu and Kwok Yip Szeto
complete Mathematica code to reproduce Figures 1-8 in the said paper. Code for reproducing Figure 9 will come soon.
Since I use lots of Greek letters and subscripts symbols, the two .m
files containing the functions are unreadable in plain text. Viewing them in Mathematica's notebook program is highly recommended.
Degang Wu