The Diffusion Game—Using Symbolic Mathematics Software To Play

Nov 11, 2006 - The primary goal of the activities in this document is to observe how the statistical “microscopic” behavior of indi- vidual partic...
0 downloads 0 Views 80KB Size
Information



Textbooks



Media



Resources edited by

JCE SymMath: Symbolic Mathematics in Chemistry

Theresa Julia Zielinski Monmouth University West Long Branch, NJ 07764-1898

The Diffusion Game—Using Symbolic Mathematics Software To Play the Game on a Large Scale by W. Tandy Grubbs, Department of Chemistry, Stetson University, DeLand, FL 32720 File Names: diffusion.mcd and diffusion.pdf Keywords: Upper-Division Undergraduate; Physical Chemistry; Computer-Based Learning; Mathematics/Symbolic Mathematics; Statistical Mechanics; Transport Properties Requires Mathcad 11 or higher

The primary goal of the activities in this document is to observe how the statistical “microscopic” behavior of individual particles ultimately determines a certain “macroscopic” behavior in a large system. Diffusion provides a simple example; a particle on one side of a container, through random kinetic collision events, is either kicked to the opposite side of the container or remains on its current side (assuming the container is split into two halves). This behavior is simulated here for a large number of particles by using a Mathcad random number generator. An interactive process is carried out whereby a random integer is generated during each step for each particle, and the particle is moved to the other side if a certain pre-selected outcome is obtained. By carrying out the simulation in Mathcad, one can easily alter the ultimate number of steps in the simulation, the number of particles in the simulation, and the “probability criterion” that is used to determine whether a particle switches sides. The outcomes of these simulations are analyzed within the context of equilibrium and non-equilibrium states, entropy maximization, and Fick’s law of diffusion, reinforcing stu-

www.JCE.DivCHED.org



dents’ understanding of the microscopic origin of these phenomena. This Mathcad document is designed for student use in a junior–senior level physical chemistry course. Students should have had at least one year of calculus and physics, as well as an introductory knowledge of thermodynamics. While not necessary, it will also be helpful if students are familiar with concepts such as equilibrium and non-equilibrium states, the statistical origin of entropy, and Fick’s law of diffusion. Some basic Mathcad skills are assumed (how to enter and solve equations, both numerically and symbolically, as well as the ability to graph functions).

Variation in the left (dotted line) and right populations (solid line) as a function of steps for a two-chamber box containing 50 particles. At each step particles move from one side of the box to the other based on the probability criterion determined using the upper ceiling whole number obtained from a random number generated using the probability criterion F ⫽ 50. The probability fluctuates around 25 in a random fashion after equilibrium is established.

Vol. 83 No. 11 November 2006



Journal of Chemical Education

1727