summaryrefslogtreecommitdiff
path: root/275/CH3/EX3.3.66/Ch3_3_66.sce
blob: c5f0164caa7716fa969d8b721a2c6006c35b63f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
clc
disp("Example 3.66")
printf("\n")
disp("Design a Collector to base bias circuit")
printf("Given\n")
//Given
Vce=5
Ic=5*10^-3
Vbe=0.7
Vcc=15
hFE=100
//base current
Ib=Ic/hFE
//collector resistance
Rc=(Vcc-Vce)/(Ic+Ib)
//base resistance
Rb=(Vce-Vbe)/Ib
printf("base current %f ampere \n",Ib)
printf("Collector resistance %f ohm \n",Rc)
printf("base resistance %f ohm \n",Rb)