Calculation of mass using force and acceleration