summaryrefslogtreecommitdiff
path: root/2045/CH4/EX4.24/Ex4_24.sce
blob: a9812273b48efac561ab5ca05a308ae3e3df0a80 (plain)
1
2
3
4
5
6
7
8
9
10
11
//example 24
clear
alpha1=0.98;
revcur=1*10^-6;//ampere
emicur=1*10^-3;//ampere
colcur=alpha1*emicur+revcur;
bascur=emicur-colcur;
disp("collector current   =   "+string((colcur))+"ampere");
disp("base current   =   "+string((bascur))+"ampere");