Calculation of linear momentum