The law of motion involved in the recoil of gun is