summaryrefslogtreecommitdiff
path: root/2825/CH5/EX5.1/Ex5_1.sce
blob: e6dbfe2c12030a7d8b20f5a690cf92f828093292 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
//Ex5_1 Pg-278
clc

alpha_dc=0.97 //transistor current gain
ICBO=10*10^(-6) //collector to base leakage current in A
Ib=50*10^(-6) //base current in A

Ic=((alpha_dc*Ib)/(1-alpha_dc))+(ICBO/(1-alpha_dc)) //collector current
printf("Collector current = %.2f mA \n",Ic*10^3)

Ie=Ic+Ib //emitter current
printf(" Emitter current = %.0f mA",Ie*10^3)