c

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

Tic Tac Toe

Mar 17, 2012

Sudhakar and I did the coding at the end of our first semester in college (actually, during our semester examinations!). We just wanted to kick start our entry into AI programming and thought teaching the computer to play tic tac toe might be a good start. We may do far greater things, but this is the first proper project we did and hence we are obviously proud of it!

Tags: c, project, software