Transistors as a Switch: Theory & Explanation