Working Of A Npn Transistor As A Switch