summaryrefslogtreecommitdiff
path: root/1514/CH3/EX3.1/3_1.sce
blob: ec62bb9f4c000e82606cdacc17eea8470b72cbfa (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
//chapter 3
//example 3.1
//page 70

clear;
clc ;
//given
alphadc=0.98;                                                                   //common base current gain factor
Icbo=5 ;                                                                        //collector to base leakage current
Ib=100;                                                                         //base current
//calculating collector current
Ic=((alphadc * Ib)+ Icbo)/(1-alphadc);
Ic=Ic/1000;
printf('\ncollector current is %.2f mA',Ic);

//relation between Ie and Ic
Ib=Ib/1000;
Ie=Ic+Ib;
printf('\nemitter current is %.2f mA',Ie);


//taking ratio of Ic and Ie which is alphadc
a =Ic/Ie
printf('\nIc/Ie=%.2f',a)
printf('\nthus Ic/Ie is approximately equal to alphadc') ;