Electrical circuits and resistance