summaryrefslogtreecommitdiff
path: root/2459/CH11/EX11.7/Ex11_7.sce
blob: 6aa057349f596a6ea32a393ef4726f68eb76bac3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
//chapter11
//example11.7
//page206

Vbe=0.7 // V
Vcc=18 // V
Vee=8 // V
Rc=1.2 // kilo ohm
Re=1.5 //kilo ohm

// by Kirchoff's voltage law to emitter side loop, we get Vee=Ie*Re+Vbe so
Ie=(Vee-Vbe)/Re
Ic=Ie // nearly

// by Kirchoff's voltage law to collector side loop, we get Vcc=Ic*Rc=Vcb so
Vcb=Vcc-Ic*Rc

printf("collector curent  = %.3f mA \n",Ic)
printf("collector base voltage = %3f V \n",Vcb)