the total momentum is p and the total energy is E.