A Nice Little Tutorial showing well done collisions (Directional Change). Sprite 1 Gives you the best info on the simple equation.