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

//Variables

IE = 10                        //Emitter current (in milli-Ampere)
alpha = 0.987                  //common base current gain

//Calculation

IC = alpha * IE                //Collector current (in milli-Ampere)
IB = IE - IC                   //Base current (in milli-Ampere)

//Result

printf("\n IC is  %0.3f  mA.\nIB is  %0.3f  mA.",IC,IB)