Maximum height and horizontal distance