Black body energy as a sum of photon oscillator energies

Nov 01, 2016

This is a graph I made for contributing to Wikipedia. It shows the energy of a black body as the sum of energies from oscillators with 1 photon, 2 photons, 3 photons, etc.

Tags: physics, gnuplot, software

Stochastic Simulation

Mar 17, 2012

This is a loose collection of programs we wrote as part of a course on "Stochastic Models" we had in the fourth semester of college. This includes a couple of pseudo random number generators (the Von Neumann middle square PRNG and the linear congruential generator PRNG), an implementation of the Monte Carlo method to determine area of an arbitrarily shaped figure and a simple simulation of birth-death process.

Tags: c, tcl, gnuplot, project, software