How to make software voltage divider?

2018-04-18_12-38-27.jpg