how is projectile motion used in javelin