Calculate Internal Resistance