summaryrefslogtreecommitdiff
path: root/3682/CH2/EX2.15/Ex2_15.sce
blob: b337e3b30cd3d7a8f1615eb4ea48a49bd6f49229 (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
28
// Exa 2.15

clc;
clear;

// Given data

// Referring Fig. 2.26, we get
Vcc=10; // Volts
R1= 4.7*10^3; // k Ohm’s
B=100; // Current gain(>>1)
Vbe=0.75; // Volts

// Solution

disp(" Node ‘A‘ is at transistor Q1, Node ‘B’ is at transistor Q2 and Node ‘C’ is at transistor Q3.");

printf('\n  From Fig. 2.26 at node ‘A‘. I = Ic1 + Ib1 + I1‘ ...Eqn(1)');
printf(' \n  Also at node ‘B‘. I1‘ = Ic2 + Ib3.');
printf('\n  Putting value of I1‘ in eqn(1) we get I = (approximately) 2Ic. \n');

I = (Vcc-Vbe)/R1;  // By ohm‘s law

printf('\n The calculated value of I = %.2f mA. \n' , I*1000);

Ic3 = I/2;

printf(' The collector current of Q3 is equal to the collector current of Q1 and Q2 due to mirror action. \n Therefore, the emitter current IE3 = Ic3 = Ic = I/2 = %.2f mA. \n ',Ic3*1000);