Equations for projectile motion