FOREST_FIRE_SIMULATION, a C program which simulates forest fires, by Michael Creutz.
The program simulates a forest in which fires and regrowth occur, using X Windows to display the current status of the forest.
FOREST_FIRE_SIMULATION models forest fires. On each site of a lattice is either nothing, a tree, or a fire. In one time step a fire spreads to adjacent trees and leaves an empty space. Trees are born in a random manner with a probability of approximately 1/32 per time step. If no fires are active, one is started at a random location. Fires can also be started with the mouse button.
An Amiga version of this program was published in the December 1993 issue of "JUMPDISK".
FOREST_FIRE_SIMULATION is available in a C version.
BROWNIAN_MOTION_SIMULATION, a C library which simulates Brownian motion in an M-dimensional region.
DUEL_SIMULATION, a C program which simulates N repetitions of a duel between two players, each of whom has a known firing accuracy.
FAIR_DICE_SIMULATION, a C program which simulates N tosses of 2 dice, making a histogram of the results.
HIGH_CARD_SIMULATION, a C program which simulates a situation in which you see the cards in a deck one by one, and must select the one you think is the highest and stop; the program uses GNUPLOT for graphics.
ISING_2D_SIMULATION, a C program which carries out a Monte Carlo simulation of an Ising model. a 2D array of positive and negative charges, each of which is likely to "flip" to be in agreement with neighbors.
MANDELBROT, a C program which generates an ASCII PPM image of the Mandelbrot set;
POISSON_SIMULATION, a C library which simulates a Poisson process in which events randomly occur with an average waiting time of Lambda.
REACTOR_SIMULATION, a C program which a simple Monte Carlo simulation of the shielding effect of a slab of a certain thickness in front of a neutron source. This program was provided as an example with the book "Numerical Methods and Software."
SNAKES_AND_LADDERS, C programs which simulate the game of Snakes and Ladders.
STRING_SIMULATION, a C program which simulates the behavior of a vibrating string.
THREE_BODY_SIMULATION, a C program which simulates the behavior of three planets, constrained to lie in a plane, and moving under the influence of gravity, by Walter Gander and Jiri Hrebicek.