Projectile Range, Angle and Depth

Hello,

I am developing a game where a projectile launched at a POWER and ANGLE given by the user. I need to find out where it lands, the curve it takes and the depth.

Here is an example of what i need it to do:
http://www.brentarnold.net/flash/ball_example_motion.swf
(this is just a ball on a path for sample purposes)

I have tried a few different ways, but I know there is a better cleaner way then what I came up with.

Here is one:
http://www.brentarnold.net/flash/circle1.swf

WELL THANKS AHEAD OF TIME TO ANYONE WHO CAN HELP!

I mean it.
Brent