Thevenin's Theorem, Output Impedance, and Input Impedance