So I am little weak when it comes to circuits and i am confused in transistors. There are two diagrams for an npn transistor and both seem different..
Now in the first picture the base is connected to positive terminal through Vee and negative terminal through Vcc. How is this possible? In the second diagram however the base is only positive.
1) If the first one is correct. Then how does the base know to choose the + and become forward bias for base-emitter and when to choose negative to become reverse biased for base-collector?
2) If the second one is correct then how is the base-collector reverse bias as they are both connected to +ve terminal. The depletion region may still widen because the electrons in collector are attracted by the positive terminal (Vcc) and the positive ions left behind will repel the positive holes from the base. Also the +ve terminal (Vee) is also repelling the holes so how does this work out?
3) If both are correct then this means both diagrams are equivalent? How is this possible? Do note i am a computer science student so try to give the answer in simple words.