The program device has been designed for determination of pain feelings on the foundational diameter of pupil of the human eye with the help of the mathematical apparatus that is based on the theorem of Thales about the right triangle inscribed circle.