summaryrefslogtreecommitdiff
path: root/1223/CH3/EX3.1/Ex3_1.sce
blob: 658b6fdeed7adba25963bae8e59594943c2c3b87 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
clear;
clc;
//Example 3.1
//let beta be "b"
b=150;//common emitter current gain
iB=15*10^-3;//(mA) base current
//assume transistor biased in forward active mode
iC=b*iB;
printf('\ncollector current=%.2f mA\n',iC)
iE=(1+b)*iB;
printf('\nemitter current=%.2f mA\n',iE)
a=b/(1+b);
printf('\ncommon base current gain=%.3f\n',a)