summaryrefslogtreecommitdiff
path: root/2492/CH4/EX4.20/ex4_20.sce
blob: 73f27aa39801ffacf5043e9da95df83587bafd72 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//Exa 4.20
format('v',5)
clc;
clear;
close;
// Given data
alpha_dc = 0.98;
I_CBO = 12;// in µA
I_CBO = I_CBO * 10^-6;// in A
I_B = 120;// in µA
I_B = I_B * 10^-6;// in A
beta_dc = alpha_dc/(1-alpha_dc);
// The emitter current,
I_E = ((1 + beta_dc) * I_B) + ((1 + beta_dc) * I_CBO);//in A
I_E = I_E * 10^3;// in mA
disp(I_E,"The value of I_E in mA is");