Maximum range of a projectile launched from a height