This Simulation is made in the context of a Project in the Subject of "Fisica dels Dispositius de Memória" in the Universitat Politècnica de Barcelona.
In this Project we should describe 4 exercices in a form of a Program. The Exercices and all the formulas used in this Project are in the File Project.pdf
Joan Miquel Solé