Projectile motion and distance traveled