projectile motion horizontal range formula derivation