summaryrefslogtreecommitdiff
path: root/1223/CH10/EX10.2/Ex10_2.sce
blob: 92b033d02db55961a778ee42f6b993ad5ace0713 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
clear;
clc;
//Example 10.2
V1=5;
V2=-5;
R1=9.3;
b=50;
Vbe=0.7;
Va=80;
Iref=(V1-Vbe-V2)/R1;
printf('\nreference current =%.3fmA\n',Iref)
Io=Iref/(1+2/b);
printf('\noutput current=%.2fmA\n',Io)
ro=Va/Io;
printf('\nsmall signal output resistance=%.2f KOhm\n',ro)
//dIo=dVce2/ro
Vce2=0.7;
dIo=(V1-Vce2)/ro;
printf('\nchange in load current=%.3f mA\n',dIo)
x=dIo/Io;
x=x*100;
printf('\npercent change in output current=%.2f \n',x)