blob: 7ec23c5859ef38fd920aba9edbf31c3f8e426633 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
//chapter12
//example12.10
//page246
V_BE=0.7 // V
gain_beta=100
I_C=1 // mA
V_CE=2 // V
I_B=I_C/gain_beta
// since V_CE=V_BE+V_CB we get
V_CB=V_CE-V_BE
R_B=V_CB/I_B
printf("base resistance=%.3f kilo ohm \n",R_B)
|