In solar and stellar atmospheres, atomic excitation by impact with electrons plays an important role in the formation of spectral lines. We make use available experimental theoretical cross-sections to calculate rates s–p transitions alkali alkaline atoms through collisions electrons. Then, we infer a general formula for calculating using genetic programming numerical methods. propose extension...