summaryrefslogtreecommitdiff
path: root/2885/CH6/EX6.2/ex6_2.sce
blob: adfbbaf444f11c8394797aa0282d110c9aa3777f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//Determine the Q point
clear;
clc;
//soltion
//given
B=150;            //dc beta
Rc=1*10^3;//ohm      //resistor connected to collector
Rb=100*10^3;//ohm      //resistor connected to base
Vcc=10;//V            //Voltage supply across the collector resistor
Vbe=0.7;//V          //base to emitter voltage
Ib=(Vcc-Vbe)/Rb;         //Base current
Ic=B*Ib;         //Colletor current
Ics=Vcc/Rc;       //Colletor saturation current

//Actual Ic is the smaller of the above two values i.e. Ic(sat) and since the transistor is in saturation mode therefore Vce will become 0

Vce=0;
printf("The Q point is (%d V, %.0f mA)",Vce,Ics*1000);