summaryrefslogtreecommitdiff
path: root/2459/CH21/EX21.1/Ex21_1.sce
blob: 49644cd4775c1c7e9138e3d8bb03ece19102c2a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//chapter21
//example21.1
//page456

Vcc=10 // V
Vbe=0.7 // V
Rb=47d3 // ohm
Rc=1d3 // ohm
gain=100

Ic_sat=Vcc/Rc
Ib=Ic_sat/gain
V_plus=Ib*Rb+Vbe

printf("voltage required to saturate transistor = +%.3f V \n",V_plus)