Principle of Wheatstone bridge from kirchoff's laws