summaryrefslogtreecommitdiff
path: root/3754/CH14/EX14.10/14_10.sce
blob: d417def1d0cefacf373708105b603758a04da63f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
clear//

//Variables

IE = 12.0                        //Emitter current (in milli-Ampere)
beta = 140.0                     //common emitter current gain

//Calculation

IB = IE / (1 + beta)             //Base current (in milli-Ampere)
IC = IE - IB                     //Collector current (in milli-Ampere)

//Result

printf("\n Collector current is  %0.3f  mA.\nBase current is  %0.3f  mA.",IC,IB)