summaryrefslogtreecommitdiff
path: root/2045/CH4/EX4.30/Ex4_30.sce
blob: c63b6bbedc50f4a1679dd3408adc8c77bc2e6956 (plain)
1
2
3
4
5
6
7
8
9
10
11
//example 30
colcur=8*10^-3;//ampere
re=500;//ohm
vce=3;//volt
beta1=80;
vcc=9;//volt
ib=colcur/beta1;
rb=(vcc-(1+beta1)*(ib*re))/ib;
disp(" base resistance   =   "+string((rb))+"ohm");