https://icsehub.blogspot.com/2017/05/java-program-to-find-resistance-of.html