Calculation of parabolic launch distance