MathCad Files

Home

MathCad® is a commercial program designed to symbolically and numerically process and manipulate mathematical equations. I use MathCad to analyze data, scientific visualization, and chemical education. A selection of MathCad files is copied below. Most revolve around physical chemistry. Please advise me of any errors in these files. If you do not have MathCad, a free MathCad Explorer is available. All files are copyright, ©, Roy Jensen. Include a reference if you use files or information from this website.

 

Physical Chemistry

Atomic Surfaces.mcd (pdf)

Generates and displays atomic surfaces based on the Miller indices for body-centered-cubic (bcc) and face-centered-cubic (fcc) packing arrangements. Outputs the atomic coordinates to a file.

BlackBody.mcd (pdf)

Visualization of the blackbody spectrum and the ability to integrate the spectrum between any two points.

Brownian Motion.mcd

Visualization of 1D, 2D, and 3D brownian motion. This file includes sample avi movies.

Diatomic PESs.zip

MathCad program and data files for several diatomic molecules. The program plots the electronic states (as Morse potentials) for all the known states with anharmonic constants.

Harmonic Oscillator.mcd (pdf)

Analytical solution to the Schrödinger equation with the harmonic oscillator potential. For two potentials with user-specified constants (mass, re, we), this program plots the potential, wavefunctions, and determines the overlap integral. See also Morse.mcd.

LS Coupling.mcd (pdf)

(Russel-Saunders coupling) Determines the diatomic state configurations for all possible arrangements of n electrons in m orbitals assuming strong coupling between the orbital and spin angular momentum.

Maxwell Boltzmann.mcd (pdf)

The Maxwell-Boltzmann distribution of speeds.

Morse.mcd (pdf)

Analytical solution to the Schrödinger equation with the Morse potential. For two potentials with user-specified constants (mass, re, we, wexe), this program plots the potential, wavefunctions, and determines the overlap integral. See also Harmonic Oscillator.mcd.

Wavelength Uncertainty.mcd (pdf)

The magnitude of the Heisenberg uncertainty principle at short times. Units of wavelength, wavenumber, frequency, etc.

 

General

Coin Toss.mcd (pdf)

Displays the histogram results of n data sets. Each data set is the number of times 'heads' is observed in 20 tosses of a coin. Good teaching tool for visualizing the deviations from the expected (gaussian) distribution.

Sieve of Eratosthenes.mcd (pdf)

A program with no other purpose than to calculate prime numbers and waste CPU cycles. It is based on — you guessed it — a sieving method developed by Eratosthenes around 240 BC.

  • FYI: the one millionth prime is 15 485 857; the ten millionth prime is 141 650 933.
  • Although contentious, I believe that one '1' is prime. The word 'and' in the definition of a prime number is inclusive: "A prime number is only divisible by one and itself.")