The resistance of an electrical network