total resistance circuit