summaryrefslogtreecommitdiff
path: root/1223/CH17/EX17.11/Ex17_11.sce
blob: 118bab3cda0cad2d3941427c05b2ed2fb3701bb7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
clear;
clc;
//Example 17.11
b=25;
iB=1;
iC=2;
ic=(iB+iC)/(1+1/b);
printf('\ninternal collector current=%.3f mA\n',ic)
ib=ic/b;
printf('\ninternal base current =%.3fmA\n',ib)
iD=iB-ib;
printf('\nSchottky diode current=%.3f mA\n',iD)
iC=20;
ic=(iB+iC)/(1+1/b);
printf('\ninternal collector current=%.3f mA\n',ic)
ib=ic/b;
printf('\ninternal base current =%.3fmA\n',ib)
iD=iB-ib;
printf('\nSchottky diode current=%.3f mA\n',iD)