Transistor as a Switch class 12