explain how a transistor functions as switch and its switching times - Search