Optimization of pulse width for frequency measurement by the method of rational approximations principle. (September 2018)