summaryrefslogtreecommitdiff
path: root/3682/CH2/EX2.13/Ex2_13.sce
blob: ba86db4f14bfd06a8d0e24e3dd6f10c1464e297f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// Exa 2.13

clc;
clear;

// Given data

// Refering Fig. 2.24 we get,

B=100;  // Current gain
Vbe=0.7; // Volts
Vcc=5; // Volts
R1= 10*10^3; // Ω

// Solution

printf(' Referring to circuit shown in Fig. 2.24 and using KVL we get Iref as ' );
// KVL for loop 1
// Vcc-Vbe-R1*Iref+Vcc = 0;
// Therefore
Iref= (2*Vcc-Vbe)/R1;
printf(' %.2f mA. \n',Iref*1000);
// At emitter node E., Iref=2*Ie (Assuming identical transistors 
//Then;
Ic= B*Iref/(2*(1+B));

printf('  Due to mirror effect, Io = Ic1 = Ic = %0.2f mA. \n ',Ic*1000);