Code


JavaScript

A list of javascript commands
Calculate the return on your investment version 1.0
Calculate the return on your investment, version 2.0
Scientific Calculator
Convert uppercase text to lower case or vis versa.
Convert cartesian coords to spherical
quadratic formula
Test background and foreground color combinations.
Love Calculator
Calculate angle between hour hand and minute hand
piper command

C

An adaptive quadrature integration code.
Another integration routine routine using the trapazoid rule.
Another integration routine using Romberg extrapolation of Simpson's rule.
Another integration routine.
This code will rewrite a file in all lowercase. Great for re-writing DOS files.
A code to find prime numbers.
Another code (optimized and much faster than the above code) to find prime numbers.
A third code that calculates primes even faster than the code above
A code to calculate factorials.
A code to calculate "n choose k".
A code to calculate probability.
A code to find a numbers factor

C++

A code to simulate the spread of infectious diseases.
A code that creates dynamic arrays.

C++ Class

Assignment #1 ass1.1.C
ass1.2.C
ass1.3.C
ass1.4.C
ass1.5.C
ass1.6.C
Assignment #2 ass2.1.C
ass2.2.C
ass2.3.C
ass2.4.C
ass2.5.C
Assignment #3 ass3.1.C
ass3.2.C
ass3.3.C
ass3.4.C
ass3.5.C
Assignment #4 ass4.1.C ass4.2.C
Assignment #5 ass5.1.C ass5.2.C ass5.3.C
Assignment #6 ass6.1.C ass6.2.C ass6.3.C ass6.4.C
Final Assignment final.C
ass3.ps.gz
ass5.doc

Code to illustrate why it's best to switch doors when given a choice on let's make a deal.


Perl

An integration code using trapazoidal rule.
A program I wrote in grad school to select a grad student to make coffee and send him email.
A guessing game where you try and guess the physical constants.
A script to historgram data.
Code to open an xterm with random colors.
Another code to open an xterm with random colors, except the background color is always black.
A HTTP stress client. Pass arrays by reference.

Java

A program to find primes.

Hosted by www.Geocities.ws

1