I tried to make a program using your formula but I couldn't get it to work propery.
Could you show a small part of a simple program that uses it to, for instance, make a circle bounce around on the screen? Don't waste any time on the graphics, it's the maths that I'm interested in (remeber I haven't read trigonometry yet). If you could do that it would be really great.