Determination of the electron energy distribution function in weakly ionized plasma by means of a Langmuir probe and numerical methods