Calculation of speed at a specific height