Посмотрите здесь https://cloud.mail.ru/public/33338eeef2c2/rezistor.zip (вторая программа)