Resistors and current analysis