Calculation of momentum and speed