Importance of long-range forces and short-range forces in electron scattering: Elastic scattering by N2 at 10 and 30 eV