(Rubin!, right click on SVG picture!)
As shown in the above figure , at time , (Rubin change embedded mml size!) cannon fires a projectile with velocity at an angle relative to the horizon. Assume the cannon is at the origin and that the ground is flat. The projectile remains in the air for a ``hang time'' and hits the ground a horizontal distance (``range'') away from the origin. The problem is to write a program that: Contains initial values and as constants. Computes the ``hang time'' . Computes the range . Computes the position (x,y) of the projectile for 100 times from to . Pornrat Wattanakasiwich Fri April 20 03:49:08 PDT 2001