Trig Function Gotchas in PHP, JavaScript and Excel
Physics. Mmmmhmm, fun! No really. I had no idea that I could be so entertained with a calculator, a few free hours and a dry erase board. Having solved hundreds of problems over the last several weeks, I'd write a few small physics simulations in JavaScript for the HTML5 canvas. I started with a function to plot the course of a projectile fired at a given angle and velocity using:
$$ s = v_{0}t+\frac{1}{2}at^2 $$

