Mathematical model of the algorithm for computer determination of visual acuity