Many textbooks state that the most intense line in the pure rotational (microwave) absorption spectrum of a diatomic molecule starts from its most populated rotational level, but the intensity of a line also depends on its wavenumber and on stimulated emission, both of which increase …
Measuring the positions of a diatomic molecule's electrons from the centre of mass of its nuclei, rather than from the centre of mass of the whole molecule, puts the nuclei at positions that depend only on the internuclear vector, which simplifies the potential energy. This …
The kinetic energy operator of a molecule, written in terms of the positions of its nuclei and electrons relative to an arbitrary space-fixed origin, does not separate the translational motion of the molecule as a whole from its internal motion. This post transforms the operator …
The water–gas shift reaction, CO + H₂O ⇌ CO₂ + H₂, converts carbon monoxide and steam into carbon dioxide and hydrogen, and is used industrially to increase the hydrogen content of synthesis gas (a mixture of carbon monoxide and hydrogen). This post introduces a Python …
The molar heat capacity of a diatomic gas rises with temperature from 7R/2 towards 9R/2 as its vibrational levels become thermally populated, and beyond 9R/2 because the vibration is anharmonic and interacts with the rotation. This post fits the heat capacities of N₂ and CO …
Simple chemical reactions can be balanced by inspection. For example, for the following reaction: since the number of each type of atom must be the same on each side of the reaction, one molecule of ethanol () must produce two molecules of and three of …
This previous post introduced a simple molecular dynamics simulation for the equilibration of the speeds of the particles of an ideal gas. The present post extends the code a little to model the effusion of an ideal gas through a small hole into a vacuum.
The Morse oscillator code introduced in a previous blog post can be used to visualize the vibronic transitions in a diatomic molecule by creating two Morse objects (one for each electronic state) and plotting their potential energy curves and energy levels on the same Matplotlib …
Note: This post has been updated to use the new scipy.special.sph_harm_y function, which has a slightly different call signature to the deprecated scipy.special.sph_harm function (to be removed in SciPy version 1.17.0.) The spherical harmonics are a set of special functions defined on the surface of …
The Morse oscillator is a model for a vibrating diatomic molecule that improves on the simple harmonic oscillator model in that the vibrational levels converge with increasing energy and that at some finite energy the molecule dissociates. The potential energy varies with displacement of the …